Open
Description
配置文件:
finalize(webpackConfig) {
webpackConfig.plugins.push(
new DefinePlugin({
'process.env.REQUEST_ENV': JSON.stringify(process.env.REQUEST_ENV),
}),
);
webpackConfig.module.rules.push({
test: /.md$/i,
use: 'raw-loader'
});
webpackConfig.module.rules.push({
test: /.html$/i,
use: 'html-loader'
});
// console.log('--DefinePlugin--',DefinePlugin);
webpackConfig.resolve.fallback = {
fs: false
};
return webpackConfig;
}
},
运行会报错:
Command failed, you may submit a issue to https://github.com/ecomfe/reskript/issues/new
Metadata
Assignees
Labels
No labels