pkgs
pkgs copied to clipboard
pkg nx project, failed to get the node_modules path
execute npx spack error
Caused by:
0: failed to analyze module
1: failed to resolve fs from /Users/wmvm/code/me/wmvmjs/node_modules/log4js/lib/log4js.js
2: failed to get the node_modules path] {
code: 'GenericFailure'
}
the spack.config.js
const { config } = require("@swc/core/spack");
module.exports = config({
entry: {
web: __dirname + "/packages/common/src/index.ts",
},
output: {
name: "index.js",
},
module: {},
});
I want pkg my nx project package to one js file。 how config