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