Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
/to have no more than (\d*) type selectors/g,
'to not contain element selectors due to unsafe isolation'
)
.replace(
/to have no more than (\d*) universal selectors/g,
'to not contain universal (*) selectors due to unsafe isolation'
);
},
context: srcPath,
files: ['**/*.m.css']
}),
singleBundle &&
new webpack.optimize.LimitChunkCountPlugin({
maxChunks: 1
}),
new CssModulePlugin(basePath),
new MiniCssExtractPlugin({
filename: '[name].css'
}),
(args.externals || isTest) &&
new WrapperPlugin({
test: singleBundle ? new RegExp(`${mainEntry}.*(\.js$)`) : new RegExp(`${bootstrapEntry}.*(\.js$)`),
footer: `\ntypeof define === 'function' && define.amd && require(['${libraryName}']);`
}),
args.locale &&
new I18nPlugin({
defaultLocale: args.locale,
supportedLocales: args.supportedLocales,
cldrPaths: args.cldrPaths,
target: mainEntryPath
}),
new webpack.DefinePlugin({