@marko/vite 5.4.0 → 5.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.mjs +0 -10
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -1063,10 +1063,6 @@ function markoPlugin(opts = {}) {
1063
1063
  config.build.commonjsOptions ??= {};
1064
1064
  config.build.commonjsOptions.esmExternals = (id) => !isCJSModule(id, rootResolveFile);
1065
1065
  }
1066
- if (linked && !isSSRBuild) {
1067
- config.build ??= {};
1068
- config.build.emptyOutDir = false;
1069
- }
1070
1066
  if (basePathVar) {
1071
1067
  config.experimental ??= {};
1072
1068
  if (config.experimental.renderBuiltUrl) {
@@ -1128,7 +1124,6 @@ function markoPlugin(opts = {}) {
1128
1124
  }
1129
1125
  }
1130
1126
  options.build ??= {};
1131
- options.build.emptyOutDir = true;
1132
1127
  if (!options.build?.rollupOptions?.output) {
1133
1128
  options.build.rollupOptions ??= {};
1134
1129
  options.build.rollupOptions.output = {
@@ -1139,11 +1134,6 @@ function markoPlugin(opts = {}) {
1139
1134
  options.build.commonjsOptions ??= {};
1140
1135
  options.build.commonjsOptions.esmExternals = (id) => !isCJSModule(id, rootResolveFile);
1141
1136
  }
1142
- } else {
1143
- if (linked) {
1144
- options.build ??= {};
1145
- options.build.emptyOutDir = false;
1146
- }
1147
1137
  }
1148
1138
  return options;
1149
1139
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marko/vite",
3
- "version": "5.4.0",
3
+ "version": "5.4.1",
4
4
  "description": "A Marko plugin for Vite",
5
5
  "keywords": [
6
6
  "loader",