Skip to content

Commit f767232

Browse files
committed
refact: remove unused code
1 parent 1178cc1 commit f767232

File tree

2 files changed

+0
-17
lines changed

2 files changed

+0
-17
lines changed

generator/helpers.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
const fs = require('fs')
2-
const path = require('path')
32

43
module.exports = function (api) {
54
return {

index.js

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
const { merge } = require('lodash/object')
2-
const bootstrapCssAbstractsImports = require('./bootstrapCssAbstractsImports')
3-
41
module.exports = (api, opts) => {
52
// Resolve asset references from components
63
api.chainWebpack(config => {
@@ -32,17 +29,4 @@ module.exports = (api, opts) => {
3229
})
3330
})
3431

35-
//Add bootstrap's variables/functions/mixins globally
36-
if(opts.useScss && opts.injectAbstracts){
37-
merge(opts.css, {
38-
loaderOptions:{
39-
sass: {
40-
additionalData: bootstrapCssAbstractsImports.join('\n')
41-
},
42-
scss: {
43-
additionalData: [...bootstrapCssAbstractsImports, ''].join(';\n')
44-
}
45-
}
46-
})
47-
}
4832
}

0 commit comments

Comments
 (0)