reformat webpack document script definition

This commit is contained in:
Ajay
2023-03-20 14:14:28 -04:00
parent 4cf827b48a
commit 3ddfc2f0dd

View File

@@ -30,9 +30,7 @@ const edgeLanguages = [
module.exports = env => { module.exports = env => {
const documentScriptBuild = webpack({ const documentScriptBuild = webpack({
entry: { entry: {
document: { document: path.join(__dirname, srcDir + 'document.ts')
import: path.join(__dirname, srcDir + 'document.ts'),
},
}, },
output: { output: {
path: path.join(__dirname, '../dist/js'), path: path.join(__dirname, '../dist/js'),