Skip to content

Commit 3d4ffc0

Browse files
Merge pull request #11 from metalabdesign/webpack2
Use `webpack-sources`.
2 parents bf6e0b4 + 552b1ec commit 3d4ffc0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@
4141
},
4242
"dependencies": {
4343
"loader-utils": "^0.2.15",
44-
"postcss": "^5.0.19"
44+
"postcss": "^5.0.19",
45+
"webpack-sources": "^0.1.3"
4546
},
4647
"peerDependencies": {
4748
"webpack": ">=1"

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import postcss from 'postcss';
22
import chunk from './chunk';
3-
import SourceMapSource from 'webpack/lib/SourceMapSource';
3+
import {SourceMapSource} from 'webpack-sources';
44
import RawSource from 'webpack/lib/RawSource';
55
import {interpolateName} from 'loader-utils';
66

0 commit comments

Comments
 (0)