mirror of https://github.com/sveltejs/svelte
parent
d2c1e0eb02
commit
35d4fd7e33
@ -0,0 +1,5 @@
|
||||
export default {
|
||||
compile_options: {
|
||||
enableSourcemap: false
|
||||
}
|
||||
};
|
||||
@ -0,0 +1,11 @@
|
||||
<script>
|
||||
export let foo;
|
||||
</script>
|
||||
|
||||
<p>{foo}</p>
|
||||
|
||||
<style>
|
||||
p {
|
||||
color: red;
|
||||
}
|
||||
</style>
|
||||
@ -0,0 +1,4 @@
|
||||
export function test({ assert, js, css }) {
|
||||
assert.equal(js.map, null);
|
||||
assert.equal(css.map, null);
|
||||
}
|
||||
@ -0,0 +1,5 @@
|
||||
export default {
|
||||
compile_options: {
|
||||
enableSourcemap: 'css'
|
||||
}
|
||||
};
|
||||
@ -0,0 +1,11 @@
|
||||
<script>
|
||||
export let foo;
|
||||
</script>
|
||||
|
||||
<p>{foo}</p>
|
||||
|
||||
<style>
|
||||
p {
|
||||
color: red;
|
||||
}
|
||||
</style>
|
||||
@ -0,0 +1,4 @@
|
||||
export function test({ assert, js, css }) {
|
||||
assert.equal(js.map, null);
|
||||
assert.notEqual(css.map, null);
|
||||
}
|
||||
@ -0,0 +1,5 @@
|
||||
export default {
|
||||
compile_options: {
|
||||
enableSourcemap: 'js'
|
||||
}
|
||||
};
|
||||
@ -0,0 +1,11 @@
|
||||
<script>
|
||||
export let foo;
|
||||
</script>
|
||||
|
||||
<p>{foo}</p>
|
||||
|
||||
<style>
|
||||
p {
|
||||
color: red;
|
||||
}
|
||||
</style>
|
||||
@ -0,0 +1,4 @@
|
||||
export function test({ assert, js, css }) {
|
||||
assert.notEqual(js.map, null);
|
||||
assert.equal(css.map, null);
|
||||
}
|
||||
Loading…
Reference in new issue