add iife build

This commit is contained in:
JFH
2021-11-17 19:53:20 +01:00
parent caa9edce65
commit 81f4a9acbf
6 changed files with 252 additions and 142 deletions

View File

@@ -8,7 +8,16 @@ const commonjs = fromRollup(rollupCommonjs);
export default {
plugins: [
commonjs({
exclude: [ 'src', 'dist', 'instrumented' ]
// explicitely list packages to increase performance
include: [
'**/node_modules/rgbcolor/**/*',
'**/node_modules/raf/**/*',
'**/node_modules/font-family-papandreou/**/*',
'**/node_modules/svgpath/**/*',
'**/node_modules/cssesc/**/*',
'**/node_modules/core-js/**/*',
'**/node_modules/performance-now/**/*'
]
})
]
};