71

parent 9310c64b
...@@ -34,6 +34,9 @@ const webpackConfig = merge(baseWebpackConfig, { ...@@ -34,6 +34,9 @@ const webpackConfig = merge(baseWebpackConfig, {
new webpack.DefinePlugin({ new webpack.DefinePlugin({
'process.env': env 'process.env': env
}), }),
new webpack.ProvidePlugin({
VConsole: process.env.NODE_ENV === 'testing'?'vconsole':''
}),
new UglifyJsPlugin({ new UglifyJsPlugin({
uglifyOptions: { uglifyOptions: {
compress: { compress: {
......
...@@ -11,4 +11,4 @@ ...@@ -11,4 +11,4 @@
position: fixed; position: fixed;
background: #f4f4f4; background: #f4f4f4;
} }
/* html{font-size: 1px;} */</style><link href=static/css/app.91d2eea1dfca80994de99748f577fac4.css rel=stylesheet></head><body><div id=app></div><script src=https://res.wx.qq.com/open/js/jweixin-1.3.2.js></script><script></script><script type=text/javascript src=static/js/manifest.019bc85e3d80cd30f838.js></script><script type=text/javascript src=static/js/vendor.0c0fd269a85b0b124df6.js></script><script type=text/javascript src=static/js/app.fad4bc6ada01fa159416.js></script></body></html> /* html{font-size: 1px;} */</style><link href=static/css/app.91d2eea1dfca80994de99748f577fac4.css rel=stylesheet></head><body><div id=app></div><script src=https://res.wx.qq.com/open/js/jweixin-1.3.2.js></script><script></script><script type=text/javascript src=static/js/manifest.019bc85e3d80cd30f838.js></script><script type=text/javascript src=static/js/vendor.4c54d1e3ed1fbf8fe16d.js></script><script type=text/javascript src=static/js/app.466eebc2591fd952129e.js></script></body></html>
\ No newline at end of file \ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment