Back to results
isidrok/rollup-plugin-systemjs-loader(opens in a new tab)
Language: JavaScript
- stars
- 3
- watchers
- 1
- forks
- 0
- open issues
- 8
- Last updated
- 03/27/2022
Language: JavaScript
Rollup plugin to include SystemJS runtime in entry chunks.
npm i -D rollup-plugin-systemjs-loader
# or
yarn add -D rollup-plugin-systemjs-loaderimport systemJSLoader from 'rollup-plugin-systemjs-loader'; export default { input: 'index.js', output: { format: 'system', dir: 'dist', sourcemap: true }, plugins: [ systemJSLoader({ include: [ require.resolve('systemjs/dist/s.js') ] }) ] }
Type: String
Default: /
Base URL from which entry chunks must be imported.
Type: Array[...String]
Required
Array of file paths that must be included for loading SystemJS.