@ -1,3 +1,5 @@
node_modules
.vscode
dist
lib
@ -31,7 +31,7 @@ module.exports = {
},
output: {
filename: 'index.js',
path: resolve('dist'),
path: resolve('lib'),
libraryTarget: 'umd',
umdNamedDefine: true
}
@ -2,8 +2,11 @@
"name": "@chartwerk/core",
"version": "0.6.13",
"description": "Chartwerk core",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"/lib"
],
"scripts": {
"build": "webpack --config build/webpack.prod.conf.js",
"dev": "webpack --config build/webpack.dev.conf.js",
@ -4,7 +4,7 @@
"rootDir": "./src",
"module": "esnext",
"declaration": true,
"declarationDir": "dist",
"declarationDir": "lib",
"allowSyntheticDefaultImports": true,
"inlineSourceMap": false,
"sourceMap": true,