Skip to content

Commit e3727ab

Browse files
test: minifier
1 parent 0bbe29c commit e3727ab

File tree

8 files changed

+245
-25
lines changed

8 files changed

+245
-25
lines changed

test/__snapshots__/attributes-option.test.js.snap

Lines changed: 114 additions & 10 deletions
Large diffs are not rendered by default.

test/__snapshots__/esModule-option.test.js.snap

Lines changed: 36 additions & 3 deletions
Large diffs are not rendered by default.

test/__snapshots__/loader.test.js.snap

Lines changed: 12 additions & 1 deletion
Large diffs are not rendered by default.

test/__snapshots__/minimize-option.test.js.snap

Lines changed: 48 additions & 9 deletions
Large diffs are not rendered by default.

test/__snapshots__/root-option.test.js.snap

Lines changed: 24 additions & 2 deletions
Large diffs are not rendered by default.

test/fixtures/fallback.file.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
function test() {}

test/fixtures/module.file.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
function test() {}

test/fixtures/simple.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,3 +201,12 @@ <h2>An Ordered HTML List</h2>
201201
<p >Text</p>
202202

203203
<img src="image.png" src="image.png" />
204+
205+
<script type="module" src="module.file.js"></script>
206+
<script nomodule src="fallback.file.js"></script>
207+
<script type="module">
208+
function test() {}
209+
</script>
210+
<script>
211+
function test() {}
212+
</script>

0 commit comments

Comments
 (0)