Я устанавливаю webpack.config.js, но мне не хватает этого предупреждающего сообщения PhpStorm с помощью функции setOutputPath()
У меня версия 2018.3.2 PhpStorm, и я работаю в Linux Debian
let Encore = require('@symfony/webpack-encore');
Encore
.setOutputPath('public/build/')
.setPublicPath('/build')
.addEntry('app', './assets/js/app.js')
.splitEntryChunks()
.enableSingleRuntimeChunk()
.cleanupOutputBeforeBuild()
.enableBuildNotifications()
.enableSourceMaps(!Encore.isProduction())
.enableVersioning(Encore.isProduction())
.enableReactPreset()
.configureBabel(function (babelConfig) {
babelConfig.presets.push('@babel/preset-flow');
babelConfig.plugins.push("@babel/plugin-proposal-class-properties");
babelConfig.plugins.push('styled-jsx/babel');
});
module.exports = Encore.getWebpackConfig();