liting2017 il y a 7 ans
Parent
commit
87628a587a
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  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