Skip to content

Commit

Permalink
sourcemap bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
helloyou2012 committed Jul 14, 2017
1 parent 12e69bf commit 1fa16ca
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/build.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ function assert (actualDir, _expect) {
function testBuild (args, fixture, done) {
const cwd = join(__dirname, 'fixtures', fixture);
const outputPath = join(cwd, 'dist');
process.chdir(cwd);
const defaultConfig = {
cwd: cwd,
verbose: false,
Expand Down Expand Up @@ -105,6 +104,7 @@ describe('src/build', function () {
it('should support sourcemap', done => {
testBuild({
compress: true,
CSSSourceMap: false,
devtool: 'source-map'
}, 'sourcemap', done);
});
Expand Down
2 changes: 1 addition & 1 deletion test/expect/sourcemap/index.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/expect/sourcemap/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1fa16ca

Please sign in to comment.