mirror of https://github.com/sveltejs/svelte
pull/6598/head
parent
9537f987ee
commit
b8c121ce8c
@ -0,0 +1,18 @@
|
||||
export const component_filepath = 'src/some/deep/path/input.svelte';
|
||||
|
||||
export const component_file_basename = 'input.svelte';
|
||||
|
||||
export default {
|
||||
|
||||
js_map_sources: [component_file_basename],
|
||||
|
||||
options: {
|
||||
filename: component_filepath
|
||||
},
|
||||
compile_options: {
|
||||
filename: component_filepath,
|
||||
// ../../index.ts initializes output filenames, reset to undefined for this test
|
||||
outputFilename: undefined,
|
||||
cssOutputFilename: undefined
|
||||
}
|
||||
};
|
||||
@ -0,0 +1 @@
|
||||
<h1>sourcemap-basename-without-outputname</h1>
|
||||
@ -0,0 +1,3 @@
|
||||
// no additional test needed, _config.js values and the js.map.sources assertion in ../../index.ts cover it
|
||||
export function test() {}
|
||||
|
||||
Loading…
Reference in new issue