Browse Source

rename lib/ back into dist/

pull/1/head
rozetko 11 months ago
parent
commit
cd272be479
  1. 1
      .gitignore
  2. 2
      build/webpack.base.conf.js
  3. 6
      package.json
  4. 2
      tsconfig.json

1
.gitignore vendored

@ -2,4 +2,3 @@ node_modules
.vscode
dist
lib

2
build/webpack.base.conf.js

@ -31,7 +31,7 @@ module.exports = {
},
output: {
filename: 'index.js',
path: resolve('lib'),
path: resolve('dist'),
libraryTarget: 'umd',
umdNamedDefine: true
}

6
package.json

@ -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",

2
tsconfig.json

@ -4,7 +4,7 @@
"rootDir": "./src",
"module": "esnext",
"declaration": true,
"declarationDir": "lib",
"declarationDir": "dist",
"allowSyntheticDefaultImports": true,
"inlineSourceMap": false,
"sourceMap": true,

Loading…
Cancel
Save