Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

Commit

Permalink
[fixed] the .scss loader for webpack
Browse files Browse the repository at this point in the history
  • Loading branch information
thealjey committed Jan 11, 2016
1 parent 0a1dd87 commit 10f9884
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/JSCompiler.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ <h1 class="page-title">Source: JSCompiler.js</h1>
query: {cacheDirectory: true, ...this.options}
}, {
test: /\.scss$/,
loaders: ['style?singleton', 'css?modules&amp;minimize&amp;importLoaders=1&amp;sourceMap', 'postcss', 'sass&amp;sourceMap']
loaders: ['style?singleton', 'css?modules&amp;minimize&amp;importLoaders=1&amp;sourceMap', 'postcss', 'sass?sourceMap']
}]
},
postcss: () => [autoprefixer],
Expand Down
2 changes: 1 addition & 1 deletion docs/quicksearch.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/JSCompiler.js
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ var JSCompiler = exports.JSCompiler = function (_Compiler) {
query: (0, _extends3.default)({ cacheDirectory: true }, this.options)
}, {
test: /\.scss$/,
loaders: ['style?singleton', 'css?modules&minimize&importLoaders=1&sourceMap', 'postcss', 'sass&sourceMap']
loaders: ['style?singleton', 'css?modules&minimize&importLoaders=1&sourceMap', 'postcss', 'sass?sourceMap']
}]
},
postcss: function postcss() {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"eslint-plugin-react": "^3.14.0",
"fb-watchman": "^1.7.0",
"ink-docstrap": "^1.1.0",
"js-yaml": "^3.4.6",
"js-yaml": "^3.5.2",
"jsdoc": "^3.4.0",
"memory-fs": "^0.3.0",
"mkdirp": "^0.5.1",
Expand Down
2 changes: 1 addition & 1 deletion src/JSCompiler.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ export class JSCompiler extends Compiler {
query: {cacheDirectory: true, ...this.options}
}, {
test: /\.scss$/,
loaders: ['style?singleton', 'css?modules&minimize&importLoaders=1&sourceMap', 'postcss', 'sass&sourceMap']
loaders: ['style?singleton', 'css?modules&minimize&importLoaders=1&sourceMap', 'postcss', 'sass?sourceMap']
}]
},
postcss: () => [autoprefixer],
Expand Down
2 changes: 1 addition & 1 deletion test/JSCompiler.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ describe('JSCompiler', () => {
}, {
test: /\.scss$/,
loaders: ['style?singleton', 'css?modules&minimize&importLoaders=1&sourceMap', 'postcss',
'sass&sourceMap']
'sass?sourceMap']
}]
},
postcss: match(value => value()[0] === autoprefixer),
Expand Down

0 comments on commit 10f9884

Please sign in to comment.