Skip to content
This repository was archived by the owner on Mar 29, 2019. It is now read-only.

Commit fef5fee

Browse files
committed
Fix indentation in webpack config
1 parent a180d20 commit fef5fee

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

webpack.config.babel.js

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
1-
2-
31
import webpack from 'webpack';
42
import path from 'path';
53
import autoprefixer from 'autoprefixer';
64
import UnminifiedWebpackPlugin from 'unminified-webpack-plugin';
75

86
const LAUNCH_COMMAND = process.env.npm_lifecycle_event;
9-
107
const isProduction = LAUNCH_COMMAND === 'production';
118
process.env.BABEL_ENV = LAUNCH_COMMAND
129

13-
1410
const base = {
1511
context: __dirname + '/',
1612
entry: [
@@ -39,8 +35,8 @@ const base = {
3935
},
4036
postcss: function () {
4137
return {
42-
defaults: [ require('precss'), require('postcss-cssnext'), require('postcss-modules') ],
43-
cleaner: [autoprefixer({ browsers: ['last 2 versions'] })]
38+
defaults: [ require('precss'), require('postcss-cssnext'), require('postcss-modules') ],
39+
cleaner: [autoprefixer({ browsers: ['last 2 versions'] })]
4440
};
4541
},
4642
output: {

0 commit comments

Comments
 (0)