liting2017 7 years ago
parent
commit
87628a587a
1 changed files with 3 additions and 0 deletions
  1. 3 0
      webpack.config.js

+ 3 - 0
webpack.config.js

@@ -15,6 +15,9 @@ let theme = {
 let isWatch = argv.env.watch == 'watch';
 let isDev = isWatch || argv.env.deploy == 'dev';
 
+process.traceDeprecation = true;
+process.noDeprecation = true;
+
 module.exports = (function () {
     let plugins = [
         //把入口文件里面的数组打包成verdors.js