Skip to content

Commit

Permalink
adjusted test to be env agnostic
Browse files Browse the repository at this point in the history
  • Loading branch information
BowlingX committed Jun 18, 2017
1 parent 3eba627 commit bbc93ab
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion test/cases/multiple-entries-all-async/webpack.config.js
Expand Up @@ -9,7 +9,7 @@ module.exports = {
{ test: /\.css$/, use: ExtractTextPlugin.extract({
fallback: "style-loader",
use: { loader: "css-loader", options: {
sourceMap: true
sourceMap: false
} }
}) }
]
Expand Down
4 changes: 2 additions & 2 deletions test/cases/multiple-entries-async/expected/0.js
Expand Up @@ -3,12 +3,12 @@ webpackJsonp([0],{
/***/ 11:
/***/ (function(module, exports, __webpack_require__) {

exports = module.exports = __webpack_require__(5)(true);
exports = module.exports = __webpack_require__(5)(false);
// imports


// module
exports.push([module.i, ".homepage {\n\tcolor: black;\n}\n", "", {"version":3,"sources":["/Users/bowlingx/Projekte/extract-text-webpack-plugin/test/cases/multiple-entries-async/routes/homepage/styles.css"],"names":[],"mappings":"AAAA;CACC,aAAa;CACb","file":"styles.css","sourcesContent":[".homepage {\n\tcolor: black;\n}\n"],"sourceRoot":""}]);
exports.push([module.i, ".homepage {\n\tcolor: black;\n}\n", ""]);

// exports

Expand Down
4 changes: 2 additions & 2 deletions test/cases/multiple-entries-async/expected/1.js
Expand Up @@ -15,12 +15,12 @@ modules.export = function() {
/***/ 10:
/***/ (function(module, exports, __webpack_require__) {

exports = module.exports = __webpack_require__(5)(true);
exports = module.exports = __webpack_require__(5)(false);
// imports


// module
exports.push([module.i, ".contact {\n\tcolor: black;\n}\n", "", {"version":3,"sources":["/Users/bowlingx/Projekte/extract-text-webpack-plugin/test/cases/multiple-entries-async/routes/contact/styles.css"],"names":[],"mappings":"AAAA;CACC,aAAa;CACb","file":"styles.css","sourcesContent":[".contact {\n\tcolor: black;\n}\n"],"sourceRoot":""}]);
exports.push([module.i, ".contact {\n\tcolor: black;\n}\n", ""]);

// exports

Expand Down
2 changes: 1 addition & 1 deletion test/cases/multiple-entries-async/webpack.config.js
Expand Up @@ -9,7 +9,7 @@ module.exports = {
{ test: /\.css$/, use: ExtractTextPlugin.extract({
fallback: "style-loader",
use: { loader: "css-loader", options: {
sourceMap: true
sourceMap: false
} }
}) }
]
Expand Down

0 comments on commit bbc93ab

Please sign in to comment.