You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have installed backpack-core globally (npm i -g) on my Windows and tested it on the basic example) It was not working because of the first line of the main.js:
A dirty fix would be to replace the separators here.
newwebpack.BannerPlugin({raw: true,entryOnly: false,banner: `require('${// Is source-map-support installed as project dependency, or linked?(require.resolve('source-map-support').indexOf(process.cwd())===0)// If it's resolvable from the project root, it's a project dependency. ? 'source-map-support/register'// It's not under the project, it's linked via lerna. : require.resolve('source-map-support/register').replace(/\\/g,'/')}')`}),
cheers,
The text was updated successfully, but these errors were encountered:
Hi,
I have installed backpack-core globally (
npm i -g
) on my Windows and tested it on the basic example) It was not working because of the first line of the main.js:Node as issues requiring modules with absolute path on windows. Replacing this first line the following fixes the problem.
A dirty fix would be to replace the separators here.
cheers,
The text was updated successfully, but these errors were encountered: