We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e74dcd8 commit ee6ccc8Copy full SHA for ee6ccc8
esbuild.js
@@ -17,7 +17,7 @@ let entryPlugin = {
17
export {activate}
18
`
19
} else if (args.path == 'server.ts') {
20
- contents = `require('./server/node/jsonServerMain')`
+ contents = 'require(\'./server/node/jsonServerMain\')'
21
} else {
22
throw new Error('Bad path')
23
}
@@ -32,7 +32,7 @@ let entryPlugin = {
32
async function start() {
33
await require('esbuild').build({
34
entryPoints: ['index.ts', 'server.ts'],
35
- define: {'process.env.NODE_ENV': JSON.stringify("production")},
+ define: {'process.env.NODE_ENV': JSON.stringify('production')},
36
bundle: true,
37
platform: 'node',
38
target: 'node14.14',
0 commit comments