bootstrap.native-loader
Advanced tools
Comparing version 1.0.7 to 2.0.0
@@ -1,3 +0,2 @@ | ||
const bsn3 = require('bootstrap.native/build-module.js') | ||
let bsn = require('bootstrap.native/build-module-v4.js') | ||
const bsn = require('bootstrap.native/lib/build-module.js') | ||
const { getOptions } = require('loader-utils') | ||
@@ -9,7 +8,4 @@ | ||
const options = getOptions(this) || {} | ||
options.bs_version = options.bs_version || 4; | ||
if (options.bsVersion === 3) { | ||
bsn = bsn3 | ||
} | ||
bsn(options).then((source) => { | ||
@@ -16,0 +12,0 @@ callback(null, source) |
{ | ||
"name": "bootstrap.native-loader", | ||
"version": "1.0.7", | ||
"version": "2.0.0", | ||
"repository": { | ||
@@ -19,5 +19,7 @@ "type": "git", | ||
"peerDependencies": { | ||
"bootstrap.native": "^2.0.21" | ||
"bootstrap.native": "^2.0.26" | ||
}, | ||
"dependencies": {} | ||
"dependencies": { | ||
"loader-utils": "^1.2.3" | ||
} | ||
} |
@@ -45,2 +45,7 @@ # bootstrap.native-loader | ||
``` | ||
A full list of components that can be listed under ignore or only are shown below. | ||
```javascript | ||
['alert', 'button', 'carousel', 'collapse', 'dropdown', 'modal', 'popover', 'scrollspy', 'tab', 'tooltip'] | ||
``` | ||
Once you have the above setup in your add the code below to include the custom build in your bundle. | ||
@@ -47,0 +52,0 @@ ``` |
Sorry, the diff of this file is not supported yet
97968
58
2
13
+ Addedloader-utils@^1.2.3
+ Addedbig.js@5.2.2(transitive)
+ Addedemojis-list@3.0.0(transitive)
+ Addedjson5@1.0.2(transitive)
+ Addedloader-utils@1.4.2(transitive)
+ Addedminimist@1.2.8(transitive)