1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-18 03:11:19 +02:00

Update to @rollup/plugin-node-resolve v8.1.0. (#31249)

This commit is contained in:
XhmikosR
2020-07-07 10:23:11 +03:00
committed by GitHub
parent 29bba35a7b
commit bd72dfc41d
5 changed files with 25 additions and 10 deletions

View File

@@ -2,7 +2,7 @@
const path = require('path')
const { babel } = require('@rollup/plugin-babel')
const resolve = require('@rollup/plugin-node-resolve')
const { nodeResolve } = require('@rollup/plugin-node-resolve')
const banner = require('./banner.js')
const BUNDLE = process.env.BUNDLE === 'true'
@@ -27,7 +27,7 @@ if (BUNDLE) {
// Remove last entry in external array to bundle Popper
external.pop()
delete globals['popper.js']
plugins.push(resolve())
plugins.push(nodeResolve())
}
const rollupConfig = {