mirror of
https://github.com/woutdp/live_svelte
synced 2026-05-24 09:28:21 +00:00
Remove mainFields in build.js
It seems to still work without this, so let's remove it for now
This commit is contained in:
parent
74bea07df9
commit
7895c155a4
2 changed files with 0 additions and 4 deletions
|
|
@ -9,7 +9,6 @@ const deploy = args.includes("--deploy")
|
|||
|
||||
let optsClient = {
|
||||
entryPoints: ["js/app.js"],
|
||||
mainFields: ["svelte", "browser", "module", "main"],
|
||||
bundle: true,
|
||||
minify: false,
|
||||
target: "es2017",
|
||||
|
|
@ -29,7 +28,6 @@ let optsClient = {
|
|||
|
||||
let optsServer = {
|
||||
entryPoints: ["js/server.js"],
|
||||
mainFields: ["svelte", "module", "main"],
|
||||
platform: "node",
|
||||
format: "cjs",
|
||||
bundle: true,
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@ const deploy = args.includes("--deploy")
|
|||
|
||||
let optsClient = {
|
||||
entryPoints: ["js/app.js"],
|
||||
mainFields: ["svelte", "browser", "module", "main"],
|
||||
bundle: true,
|
||||
minify: false,
|
||||
target: "es2017",
|
||||
|
|
@ -29,7 +28,6 @@ let optsClient = {
|
|||
|
||||
let optsServer = {
|
||||
entryPoints: ["js/server.js"],
|
||||
mainFields: ["svelte", "module", "main"],
|
||||
platform: "node",
|
||||
format: "cjs",
|
||||
bundle: true,
|
||||
|
|
|
|||
Loading…
Reference in a new issue