Browse Source

rename lib/ back into dist/

pull/1/head
rozetko 1 year 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 .vscode
dist dist
lib

2
build/webpack.base.conf.js

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

6
package.json

@ -2,10 +2,10 @@
"name": "@chartwerk/core", "name": "@chartwerk/core",
"version": "0.6.14", "version": "0.6.14",
"description": "Chartwerk core", "description": "Chartwerk core",
"main": "lib/index.js", "main": "dist/index.js",
"types": "lib/index.d.ts", "types": "dist/index.d.ts",
"files": [ "files": [
"/lib" "/dist"
], ],
"scripts": { "scripts": {
"build": "webpack --config build/webpack.prod.conf.js", "build": "webpack --config build/webpack.prod.conf.js",

2
tsconfig.json

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

Loading…
Cancel
Save