feat: package noflo stdlib and show componentList

https://github.com/noflo/noflo-component-loader/issues/240
This commit is contained in:
lin onetwo 2023-07-10 23:41:39 +08:00
parent a547597261
commit aa9edcb433
7 changed files with 113 additions and 5 deletions

View file

@ -59,6 +59,8 @@ exports.main = _.compact([
exports.renderer = _.compact([
new webpack.DefinePlugin({
'process.env.NODE_ENV': `"${process.env.NODE_ENV ?? 'production'}"`,
// some noflo modules use process.env.NODE_DEBUG
'process.env.NODE_DEBUG': 'false',
// global: {},
}),
// new CspHtmlWebpackPlugin(