@lls/vitescripts 1.1.7 → 1.1.8
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/package.json
CHANGED
|
@@ -62,7 +62,7 @@ const llsSideRefreshMetaPlugin = ({ viewer: iViewer, superkit: iSuperkit, kit: i
|
|
|
62
62
|
const VIRTUAL_ID = 'sideRefresh/node_modules' // specify node_modules to bypass linaria plugin parsing css file... (cant tweak exclude regex)
|
|
63
63
|
const key = basename => path.join(pwd, publicDir, 'assets', basename)
|
|
64
64
|
const loads = new Map(['core.css', 'viewer.css', 'superkit.css', 'lls-kit.css', 'lls-kit-fonts.css'].map(basename => {
|
|
65
|
-
return [VIRTUAL_ID + key(basename), client
|
|
65
|
+
return [VIRTUAL_ID + key(basename), client && !pwd.includes(basename.replace('.css', ''))
|
|
66
66
|
? fs.promises.readFile(key(basename))
|
|
67
67
|
: '']
|
|
68
68
|
}))
|