diff --git a/build/webpack.component.js b/build/webpack.component.js index a0d47b4..64a908b 100755 --- a/build/webpack.component.js +++ b/build/webpack.component.js @@ -18,7 +18,7 @@ const webpackConfig = { }, output: { path: path.resolve(process.cwd(), 'lib'), - publicPath: '/dist/', + publicPath: '/lib/', filename: '[name].js', chunkFilename: '[id].js', libraryTarget: 'umd', diff --git a/package.json b/package.json index 5f518ab..30ae725 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "start": "vue-cli-service serve", "build": "vue-cli-service build", "lint": "vue-cli-service lint", - "report": "cross-env IS_REPORT=true npm run webpack", + "report": "cross-env IS_REPORT=true npm run bundle", "log": "conventional-changelog --config ./node_modules/vue-cli-plugin-commitlint/lib/log -i CHANGELOG.md -s -r 0", "cz": "npm run log && git add . && git cz", "bundle": "webpack --config build/webpack.component.js",