Skip to content
This repository has been archived by the owner on Oct 14, 2024. It is now read-only.

Commit

Permalink
Commit太多了记不得写了什么/汪汪
Browse files Browse the repository at this point in the history
  • Loading branch information
ChenYFan committed Jul 9, 2022
1 parent c990292 commit 0be7317
Show file tree
Hide file tree
Showing 16 changed files with 8,785 additions and 318 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules
doc/node_modules
10 changes: 8 additions & 2 deletions cw.config.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
import path from 'path'
import { fileURLToPath } from 'url';
import { BundleAnalyzerPlugin } from 'webpack-bundle-analyzer';
import TerserPlugin from 'terser-webpack-plugin';
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const development = false
const development = 1
export default {
entry: './main/entry.js',
optimization: {
minimize: !development
minimize: !development,
minimizer: [
new TerserPlugin({
extractComments: false,
}),
],
},
output: {
path: path.resolve(__dirname, './dist'),
Expand Down
Loading

0 comments on commit 0be7317

Please sign in to comment.