Skip to content

Commit

Permalink
Merge branch 'main' of github.com:mattjennings/mdsvexamples into chor…
Browse files Browse the repository at this point in the history
…e/upgrade-deps
  • Loading branch information
mattjennings committed Aug 4, 2023
2 parents 2208993 + ea1adce commit 008e0ba
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 16 deletions.
12 changes: 0 additions & 12 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,14 +1,2 @@
#!/bin/sh
export NVM_DIR="$HOME/.nvm/nvm.sh"
. "$(dirname $NVM_DIR)/nvm.sh"

export NVM_DIR="$HOME/.nvm"
a=$(nvm ls | grep 'node')
b=${a#*(-> }
v=${b%%[)| ]*}

export PATH="$NVM_DIR/versions/node/$v/bin:$PATH"

. "$(dirname "$0")/_/husky.sh"

npx --no -- commitlint --edit ""
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
### [0.3.4](https://github.com/mattjennings/mdsvexamples/compare/0.3.3...0.3.4) (2023-08-04)

### Bug Fixes

- return empty string instead of null for transform mappings ([a3a04ff](https://github.com/mattjennings/mdsvexamples/commit/a3a04ffebeffa846d8edb5754a40a74e2ffd611e))

### [0.3.3](https://github.com/mattjennings/mdsvex-code-preview/compare/0.3.2...0.3.3) (2022-12-10)

### [0.3.2](https://github.com/mattjennings/mdsvex-code-preview/compare/0.3.1...0.3.2) (2022-09-14)
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": "mdsvexamples",
"version": "0.3.3",
"version": "0.3.4",
"files": [
"dist"
],
Expand Down
5 changes: 2 additions & 3 deletions src/lib/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,17 +130,16 @@ export default createUnplugin(

return {
code: ast.generate(tree),
/** @type {any} */
map: {
mappings: null
mappings: ''
}
}
}

return {
code,
map: {
mappings: null
mappings: ''
}
}
},
Expand Down

0 comments on commit 008e0ba

Please sign in to comment.