ember-vite-hmr 0.4.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/lib/hmr.d.ts +1 -1
- package/dist/lib/hmr.js +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
package/dist/lib/hmr.d.ts
CHANGED
package/dist/lib/hmr.js
CHANGED
|
@@ -9,7 +9,7 @@ function hmr() {
|
|
|
9
9
|
return {
|
|
10
10
|
name: 'hmr-plugin',
|
|
11
11
|
enforce: 'post',
|
|
12
|
-
transform(source, id) {
|
|
12
|
+
async transform(source, id) {
|
|
13
13
|
const resourcePath = id.replace(/\\/g, '/').split('?')[0];
|
|
14
14
|
const supportedPaths = ['routers', 'controllers', 'routes'];
|
|
15
15
|
const supportedFileNames = [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ember-vite-hmr",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"ember-addon"
|
|
6
6
|
],
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"description": "Builds EmberJS apps with Webpack Dev Server and Hot Reload",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "https://github.com/patricklx/ember-
|
|
11
|
+
"url": "https://github.com/patricklx/ember-vite-hmr"
|
|
12
12
|
},
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"author": "Patrick Pircher",
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"typescript": "^5.1.6"
|
|
108
108
|
},
|
|
109
109
|
"peerDependencies": {
|
|
110
|
-
"@embroider/compat": "
|
|
110
|
+
"@embroider/compat": "*"
|
|
111
111
|
},
|
|
112
112
|
"engines": {
|
|
113
113
|
"node": "12.* || 14.* || >= 16"
|