Skip to content

Commit

Permalink
Correct sourcemap comment syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
rynpsc committed Apr 4, 2019
1 parent 53f0329 commit 7def87e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/integration-tests/test/sourcemaps.js
Expand Up @@ -502,8 +502,8 @@ describe('sourcemaps', function() {
const jsOutput1 = await fs.readFile(bundle1.name, 'utf8');
const jsOutput2 = await fs.readFile(bundle2.name, 'utf8');

assert(jsOutput1.includes('//# sourceMappingURL=/a/style.css.map'));
assert(jsOutput2.includes('//# sourceMappingURL=/b/style.css.map'));
assert(jsOutput1.includes('/*# sourceMappingURL=/a/style.css.map */'));
assert(jsOutput2.includes('/*# sourceMappingURL=/b/style.css.map */'));
});

it('should create a valid sourcemap for a CSS bundle with imports', async function() {
Expand Down

0 comments on commit 7def87e

Please sign in to comment.