Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
sourcemap: true,
},
],
plugins: [
external({
includeDependencies: true,
}),
// https://github.com/egoist/rollup-plugin-postcss/issues/110
// https://github.com/cisen/blog/issues/295
postcss({
extensions: ['.css', '.less'],
use: [['less', lessLoaderConfig]],
}),
url(),
svgr(),
yaml(),
resolve(),
typescript({
rollupCommonJSResolveHack: true,
clean: true,
transformers: [
() => ({
before: transformer,
}),
],
}),
commonjs(),
],
}
}