Skip to content

Commit 8bce0f2

Browse files
committed
fix(webpack): fix style includes
1 parent 9df7265 commit 8bce0f2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: templates/app/webpack.make.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ module.exports = function makeWebpackConfig(options) {
203203
test: /\.(scss|sass)$/,
204204
loaders: ['style', 'css', 'sass'],
205205
include: [
206-
path.resolve(__dirname, 'node_modules/bootstrap-sass/assets/stylesheets/.scss'),
206+
path.resolve(__dirname, 'node_modules/bootstrap-sass/assets/stylesheets/*.scss'),
207207
path.resolve(__dirname, 'client/app/app.scss')
208208
]<% } %>
209209
<%_ if(filters.less) { _%>
@@ -212,7 +212,7 @@ module.exports = function makeWebpackConfig(options) {
212212
test: /\.less$/,
213213
loaders: ['style', 'css', 'less'],
214214
include: [
215-
path.resolve(__dirname, 'node_modules/'),//TODO: bootstrap
215+
path.resolve(__dirname, 'node_modules/bootstrap/less/*.less'),
216216
path.resolve(__dirname, 'client/app/app.less')
217217
]<% } %>
218218
<%_ if(filters.stylus) { _%>
@@ -221,7 +221,7 @@ module.exports = function makeWebpackConfig(options) {
221221
test: /\.styl$/,
222222
loaders: ['style', 'css', 'stylus'],
223223
include: [
224-
path.resolve(__dirname, 'node_modules/'),//TODO: bootstrap
224+
path.resolve(__dirname, 'node_modules/bootstrap-styl/bootstrap/*.styl'),
225225
path.resolve(__dirname, 'client/app/app.styl')
226226
]<% } %>
227227
}<% } %>]

0 commit comments

Comments
 (0)