Skip to content

Commit ecd5650

Browse files
committed
Clean up code
1 parent 1f02a69 commit ecd5650

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

index.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ module.exports = function (source, map) {
88
var params = loaderUtils.parseQuery(this.query);
99

1010
var opts = {
11-
from: file, to: file,
12-
map: {
13-
inline: false,
11+
from: file,
12+
to: file,
13+
map: {
14+
inline: false,
1415
annotation: false
1516
}
1617
};

test/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
var expect = require('chai').expect;
22

3-
describe('postcss-loader', function() {
3+
describe('postcss-loader', function () {
44

55
it('processes CSS with default plugins', function () {
66
var css = require('!raw-loader!../!./cases/style.css');

test/webpack.config.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ var blue = require('./plugins/blue');
44
var red = require('./plugins/red');
55

66
module.exports = {
7-
target: 'node',
7+
target: 'node',
88
context: __dirname,
9-
entry: './test.js',
10-
output: {
11-
path: path.join(__dirname, '..', 'build'),
9+
entry: './test.js',
10+
output: {
11+
path: path.join(__dirname, '..', 'build'),
1212
filename: 'test.js'
1313
},
1414
postcss: function () {

0 commit comments

Comments
 (0)