Răsfoiți Sursa

Hide deprecation warning from `yarn start\build`

Note, this does not affect `yarn install`.
Sergiu Miclea 8 ani în urmă
părinte
comite
b06bb842fe
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  1. 1 0
      webpack.config.js

+ 1 - 0
webpack.config.js

@@ -27,6 +27,7 @@ const sourceDir = 'src'
 const publicPath = `/${process.env.PUBLIC_PATH || ''}/`.replace('//', '/')
 const sourcePath = path.join(process.cwd(), sourceDir)
 const outputPath = path.join(process.cwd(), 'dist')
+process.noDeprecation = true
 
 const babel = () => () => ({
   module: {