iloom-flatten/.microcompact/mpm69tmb/functions.Edit:40.txt

25 lines
888 B
Plaintext
Raw Permalink Normal View History

The file /home/project/webpack.config.js has been updated. Made 1 replacement.
Here's the result of running `cat -n` on a snippet of the edited file:
131→ },
132→ resolve: {
133→ extensions: ['.mjs', '.ts', '.tsx', '.js', '.jsx']
134→ },
135→ devServer: {
136→ // 约束 A沙箱只开放一个代理端口所有 builderwebpack/vite/electron统一 3015
137→ port: 3015,
138→ host: '0.0.0.0',
139→ allowedHosts: 'all',
140→ hot: true,
141→ historyApiFallback: {
142→ index: '/index.html',
143→ rewrites: [
144→ { from: /^\/_p\/\d+\//, to: '/index.html' }
145→ ]
146→ }
147→ },
148→ plugins: [
149→ new HtmlWebpackPlugin({
150→ template: './index.html',
151→ inject: 'body',
152→ minify: !isDev ? {