@windwalker-io/fusion-next 0.1.0 → 0.1.1
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/LICENSE +19 -19
- package/dist/index.cjs +13 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +13 -6
- package/dist/index.js.map +1 -1
- package/jest.config.ts +214 -214
- package/package.json +54 -54
- package/resources/img/credit.txt +2 -2
- package/types/vue/global.d.ts +14 -14
- package/types/vue/shims-vue.d.ts +5 -5
- package/types/vue/vue-runtime.d.ts +16 -16
- package/vite.config.ts +71 -71
package/LICENSE
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
Copyright (c) 2018 Simon Asika
|
|
2
|
-
|
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
5
|
-
in the Software without restriction, including without limitation the rights
|
|
6
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
7
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
8
|
-
furnished to do so, subject to the following conditions:
|
|
9
|
-
|
|
10
|
-
The above copyright notice and this permission notice shall be included in all
|
|
11
|
-
copies or substantial portions of the Software.
|
|
12
|
-
|
|
13
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
14
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
15
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
16
|
-
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
|
17
|
-
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
|
18
|
-
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
|
|
19
|
-
OR OTHER DEALINGS IN THE SOFTWARE.
|
|
1
|
+
Copyright (c) 2018 Simon Asika
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
5
|
+
in the Software without restriction, including without limitation the rights
|
|
6
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
7
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
8
|
+
furnished to do so, subject to the following conditions:
|
|
9
|
+
|
|
10
|
+
The above copyright notice and this permission notice shall be included in all
|
|
11
|
+
copies or substantial portions of the Software.
|
|
12
|
+
|
|
13
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
14
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
15
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
16
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
|
17
|
+
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
|
18
|
+
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
|
|
19
|
+
OR OTHER DEALINGS IN THE SOFTWARE.
|
package/dist/index.cjs
CHANGED
|
@@ -1990,6 +1990,7 @@ class ConfigBuilder {
|
|
|
1990
1990
|
},
|
|
1991
1991
|
build: {
|
|
1992
1992
|
manifest: "manifest.json",
|
|
1993
|
+
assetsInlineLimit: 0,
|
|
1993
1994
|
rollupOptions: {
|
|
1994
1995
|
preserveEntrySignatures: "strict",
|
|
1995
1996
|
input: {},
|
|
@@ -8955,12 +8956,18 @@ function useFusion(fusionOptions = {}, tasks) {
|
|
|
8955
8956
|
} else {
|
|
8956
8957
|
server.ws.send({
|
|
8957
8958
|
type: "update",
|
|
8958
|
-
updates: [...mods].map((m) =>
|
|
8959
|
-
|
|
8960
|
-
|
|
8961
|
-
|
|
8962
|
-
|
|
8963
|
-
|
|
8959
|
+
updates: [...mods].map((m) => {
|
|
8960
|
+
let url = m.url;
|
|
8961
|
+
if (url.indexOf("?") !== -1) {
|
|
8962
|
+
url = url.substring(0, url.indexOf("?"));
|
|
8963
|
+
}
|
|
8964
|
+
return {
|
|
8965
|
+
type: updateType,
|
|
8966
|
+
path: url,
|
|
8967
|
+
acceptedPath: url,
|
|
8968
|
+
timestamp: Date.now()
|
|
8969
|
+
};
|
|
8970
|
+
})
|
|
8964
8971
|
});
|
|
8965
8972
|
}
|
|
8966
8973
|
}
|