Skip to content

Commit

Permalink
ci: change webpack config
Browse files Browse the repository at this point in the history
  • Loading branch information
BoBoooooo committed Apr 14, 2021
1 parent 3f4b05e commit 402daeb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
4 changes: 2 additions & 2 deletions build/webpack.component.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const webpackConfig = {
output: {
path: path.resolve(process.cwd(), 'lib'),
publicPath: '/dist/',
filename: '[name].umd.min.js',
filename: '[name].js',
chunkFilename: '[id].js',
libraryTarget: 'umd',
library: 'ProCrud',
Expand Down Expand Up @@ -93,7 +93,7 @@ const webpackConfig = {
plugins: [
new VueLoaderPlugin(),
new MiniCssExtractPlugin({
filename: '[name].css',
filename: 'css/[name].css',
}),
new ProgressBarPlugin(),
new webpack.BannerPlugin({
Expand Down
11 changes: 5 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "element-pro-crud",
"version": "0.9.3-4",
"version": "0.9.3-4-beta",
"author": "BoBo<[email protected]>",
"main": "lib/ProCrud.umd.min.js",
"main": "lib/pro-crud.js",
"files": [
"lib",
"types"
Expand Down Expand Up @@ -33,12 +33,11 @@
"build": "vue-cli-service build",
"lint": "vue-cli-service lint",
"report": "cross-env IS_REPORT=true vue-cli-service build --target lib --name ProCrud --dest lib src/index.ts",
"lib": "vue-cli-service build --target lib --name ProCrud --dest lib src/index.ts",
"webpack": "cross-env IS_REPORT=true webpack --config build/webpack.component.js",
"deploy": "npm run lib && npm publish",
"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",
"inspect": "vue-cli-service inspect >webpackConfig.txt"
"bundle": "cross-env IS_REPORT=true webpack --config build/webpack.component.js",
"deploy": "npm run bundle && npm publish",
"deploy:beta": "npm run bundle && npm publish --tag=beta"
},
"devDependencies": {
"@types/ace": "0.0.42",
Expand Down

0 comments on commit 402daeb

Please sign in to comment.