diff options
author | Johann-S <johann.servoire@gmail.com> | 2019-03-13 17:23:50 +0300 |
---|---|---|
committer | Johann-S <johann.servoire@gmail.com> | 2019-07-23 15:23:50 +0300 |
commit | c8c207465043d940aa031570f0bce5e8fff9ffcf (patch) | |
tree | 482f430ee84aa4cae8f76cebdec75791a60a50d1 /build | |
parent | 08d81c843706c2b952fadb703f3f9be709a8ca6a (diff) |
Switch from QUnit to Jasmine.
Diffstat (limited to 'build')
-rw-r--r-- | build/build-plugins.js | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/build/build-plugins.js b/build/build-plugins.js index 20f7547fef..471707035b 100644 --- a/build/build-plugins.js +++ b/build/build-plugins.js @@ -12,7 +12,6 @@ const rollup = require('rollup') const babel = require('rollup-plugin-babel') const banner = require('./banner.js') -const TEST = process.env.NODE_ENV === 'test' const plugins = [ babel({ // Only transpile our source code @@ -33,7 +32,7 @@ const bsPlugins = { Manipulator: path.resolve(__dirname, '../js/src/dom/manipulator.js'), Polyfill: path.resolve(__dirname, '../js/src/dom/polyfill.js'), SelectorEngine: path.resolve(__dirname, '../js/src/dom/selector-engine.js'), - Alert: path.resolve(__dirname, '../js/src/alert.js'), + Alert: path.resolve(__dirname, '../js/src/alert/alert.js'), Button: path.resolve(__dirname, '../js/src/button.js'), Carousel: path.resolve(__dirname, '../js/src/carousel.js'), Collapse: path.resolve(__dirname, '../js/src/collapse.js'), @@ -45,12 +44,7 @@ const bsPlugins = { Toast: path.resolve(__dirname, '../js/src/toast.js'), Tooltip: path.resolve(__dirname, '../js/src/tooltip.js') } -const rootPath = TEST ? '../js/coverage/dist/' : '../js/dist/' - -if (TEST) { - bsPlugins.Util = path.resolve(__dirname, '../js/src/util/index.js') - bsPlugins.Sanitizer = path.resolve(__dirname, '../js/src/util/sanitizer.js') -} +const rootPath = '../js/dist/' const defaultPluginConfig = { external: [ |