mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-02 14:24:19 +01:00
2732a60ecd
This is to fix a warning since the option will be set to true in the next major version of the plugin
25 lines
539 B
JavaScript
25 lines
539 B
JavaScript
/* eslint-env node */
|
|
|
|
const { babel } = require('@rollup/plugin-babel')
|
|
const { nodeResolve } = require('@rollup/plugin-node-resolve')
|
|
const replace = require('@rollup/plugin-replace')
|
|
|
|
module.exports = {
|
|
input: 'js/tests/integration/bundle.js',
|
|
output: {
|
|
file: 'js/coverage/bundle.js',
|
|
format: 'iife'
|
|
},
|
|
plugins: [
|
|
replace({
|
|
'process.env.NODE_ENV': '"production"',
|
|
preventAssignment: true
|
|
}),
|
|
nodeResolve(),
|
|
babel({
|
|
exclude: 'node_modules/**',
|
|
babelHelpers: 'bundled'
|
|
})
|
|
]
|
|
}
|