Skip to content

Commit 9f9df9d

Browse files
committed
-> v2.13.2
1 parent a327333 commit 9f9df9d

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# svelte-loader changelog
22

3+
## 2.13.2
4+
5+
* Fix `compileOptions.filename` ([#79](https://github.com/sveltejs/svelte-loader/issues/79))
6+
37
## 2.13.1
48

59
* v3 fixes ([#78](https://github.com/sveltejs/svelte-loader/pull/78))

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ module.exports = function(source, map) {
123123
// TODO anything?
124124
} else {
125125
compileOptions.shared = options.shared || 'svelte/shared.js';
126-
compileOptions.name = capitalize(sanitize(options.filename));
126+
compileOptions.name = capitalize(sanitize(compileOptions.filename));
127127
compileOptions.onwarn = options.onwarn || handleWarning;
128128
}
129129

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "svelte-loader",
3-
"version": "2.13.1",
3+
"version": "2.13.2",
44
"author": "Nico Rehwaldt <[email protected]>",
55
"description": "A webpack loader for svelte",
66
"license": "MIT",

0 commit comments

Comments
 (0)