canopy-webpack-config 4.4.0 → 4.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "canopy-webpack-config",
3
- "version": "4.4.0",
3
+ "version": "4.4.1",
4
4
  "description": "Some defaults for webpack configs at canopy",
5
5
  "main": "src/canopy-webpack-config.js",
6
6
  "exports": {
@@ -82,7 +82,7 @@ export default function (name, overridesConfig = {}, options = {}) {
82
82
  : `${pathData.chunk.name}.js`,
83
83
  chunkFilename: "[name].js", // predictable ESM chunk names
84
84
  chunkLoading: "import", // load chunks via `import()`
85
- path: path.resolve(process.cwd(), "build"),
85
+ path: path.resolve(process.cwd(), "build-esm"),
86
86
  publicPath: "auto", // resolve chunks relative to the loaded entry URL
87
87
  library: { type: "module" }, // emit as native ESM
88
88
  environment: { module: true },