Skip to content

Commit

Permalink
-> v2.13.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed Feb 20, 2019
1 parent a327333 commit 9f9df9d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# svelte-loader changelog

## 2.13.2

* Fix `compileOptions.filename` ([#79](https://github.com/sveltejs/svelte-loader/issues/79))

## 2.13.1

* v3 fixes ([#78](https://github.com/sveltejs/svelte-loader/pull/78))
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ module.exports = function(source, map) {
// TODO anything?
} else {
compileOptions.shared = options.shared || 'svelte/shared.js';
compileOptions.name = capitalize(sanitize(options.filename));
compileOptions.name = capitalize(sanitize(compileOptions.filename));
compileOptions.onwarn = options.onwarn || handleWarning;
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "svelte-loader",
"version": "2.13.1",
"version": "2.13.2",
"author": "Nico Rehwaldt <git_nikku@nixis.de>",
"description": "A webpack loader for svelte",
"license": "MIT",
Expand Down

0 comments on commit 9f9df9d

Please sign in to comment.