We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab70983 commit b5ae392Copy full SHA for b5ae392
webpack/weapp.js
@@ -1,4 +1,3 @@
1
-const webpack = require('webpack');
2
const { create, entry, name } = require('./common');
3
4
const config = create();
@@ -8,12 +7,5 @@ config.entry = {
8
7
[`${name}-weapp-min`]: entry,
9
};
10
config.resolve.aliasFields = ['weapp', 'browser'];
11
-config.plugins.push(
12
- new webpack.BannerPlugin({
13
- banner:
14
- 'var window={};var XMLHttpRequest;var navigator;var localStorage;function Function(){return function(){}};',
15
- raw: true,
16
- })
17
-);
18
19
module.exports = config;
0 commit comments