@nlabs/lex 1.53.1 → 1.53.2
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 +1 -1
- package/webpack.config.js +9 -9
package/package.json
CHANGED
package/webpack.config.js
CHANGED
|
@@ -274,15 +274,15 @@ if(existsSync(`${sourceFullPath}/tsconfig.json`)) {
|
|
|
274
274
|
}));
|
|
275
275
|
}
|
|
276
276
|
|
|
277
|
-
const swcLoaderPath = relativeNodePath('swc-loader', dirName);
|
|
278
|
-
const cssLoaderPath = relativeNodePath('css-loader', dirName);
|
|
279
|
-
const graphqlLoaderPath = relativeNodePath('graphql-tag/loader', dirName);
|
|
280
|
-
const htmlLoaderPath = relativeNodePath('html-loader', dirName);
|
|
281
|
-
const miniCssExtractPluginPath = relativeNodePath('mini-css-extract-plugin', dirName);
|
|
282
|
-
const postcssLoaderPath = relativeNodePath('postcss-loader', dirName);
|
|
283
|
-
const sourceMapLoaderPath = relativeNodePath('source-map-loader', dirName);
|
|
284
|
-
const styleLoaderPath = relativeNodePath('style-loader', dirName);
|
|
285
|
-
const webpackPath = relativeNodePath('webpack', dirName);
|
|
277
|
+
const swcLoaderPath = relativeNodePath('swc-loader', dirName) || 'swc-loader';
|
|
278
|
+
const cssLoaderPath = relativeNodePath('css-loader', dirName) || 'css-loader';
|
|
279
|
+
const graphqlLoaderPath = relativeNodePath('graphql-tag/loader', dirName) || 'graphql-tag/loader';
|
|
280
|
+
const htmlLoaderPath = relativeNodePath('html-loader', dirName) || 'html-loader';
|
|
281
|
+
const miniCssExtractPluginPath = relativeNodePath('mini-css-extract-plugin', dirName) || 'mini-css-extract-plugin';
|
|
282
|
+
const postcssLoaderPath = relativeNodePath('postcss-loader', dirName) || 'postcss-loader';
|
|
283
|
+
const sourceMapLoaderPath = relativeNodePath('source-map-loader', dirName) || 'source-map-loader';
|
|
284
|
+
const styleLoaderPath = relativeNodePath('style-loader', dirName) || 'style-loader';
|
|
285
|
+
const webpackPath = relativeNodePath('webpack', dirName) || 'webpack';
|
|
286
286
|
|
|
287
287
|
const aliasPaths = {
|
|
288
288
|
'@nlabs/arkhamjs': relativeNodePath('@nlabs/arkhamjs', process.cwd()),
|