Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
jsonpFunction: getJsonpFunctionName(
`-${packageName}-${jsonpIdent}`
),
libraryTarget: 'jsonp',
path: path.resolve('./dist')
},
resolve: {
modules: [basePath, path.join(basePath, 'node_modules')],
extensions
},
devtool: false,
watchOptions: {
ignored: /node_modules/
},
plugins: removeEmpty([
new CssModulePlugin_1.default(basePath),
new webpack.BannerPlugin(banner),
new IgnorePlugin(/request\/providers\/node/),
new ExtractTextPlugin({
filename: getPath =>
getPath(`[name]-${packageJson.version}.css`)
}),
new webpack.NamedChunksPlugin(),
new webpack.NamedModulesPlugin()
]),
module: {
rules: removeEmpty([
tsLint && {
test: /\.ts$/,
enforce: 'pre',
loader: 'tslint-loader',
options: {