From 1f9771a2d65a6160b6eb3bca599b549955a569d7 Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Tue, 2 Mar 2021 17:23:49 -0500 Subject: [PATCH] Move chunks to separate folder --- docs/getting-started/changelog.md | 5 +++++ package-lock.json | 6 +++--- package.json | 2 +- scripts/build.cjs | 1 + 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/docs/getting-started/changelog.md b/docs/getting-started/changelog.md index 61230db67..18877dbfc 100644 --- a/docs/getting-started/changelog.md +++ b/docs/getting-started/changelog.md @@ -6,6 +6,11 @@ Components with the Experimental badge _During the beta period, these restrictions may be relaxed in the event of a mission-critical bug._ 🐛 +## Next + +- Moved chunk files into a separate folder +- Updated esbuild to 0.8.54 + ## 2.0.0-beta.28 **This release includes a major under the hood overhaul of the library and how it's distributed.** Until now, Shoelace was developed with Stencil. This release moves to a lightweight tool called [Shoemaker](https://github.com/shoelace-style/shoemaker), a homegrown utility that provides declarative templating and data binding while reducing the boilerplate required for said features. The base class is open source and less than [200 lines of code](https://github.com/shoelace-style/shoemaker/blob/master/src/shoemaker.ts). diff --git a/package-lock.json b/package-lock.json index 4e21ac2a4..755fc5865 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1470,9 +1470,9 @@ } }, "esbuild": { - "version": "0.8.52", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.8.52.tgz", - "integrity": "sha512-b5KzFweLLXoXQwdC/e2+Z80c8uo2M5MgP7yQEEebkFw6In4T9CvYcNoM2ElvJt8ByO04zAZUV0fZkXmXoi2s9A==", + "version": "0.8.54", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.8.54.tgz", + "integrity": "sha512-DJH38OiTgXJxFb/EhHrCrY8eGmtdkTtWymHpN9IYN9AF+4jykT0dQArr7wzFejpVbaB0TMIq2+vfNRWr3LXpvw==", "dev": true }, "esbuild-plugin-inline-import": { diff --git a/package.json b/package.json index 962e12bd8..924c7562e 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "concurrently": "^5.3.0", "del": "^6.0.0", "download": "^8.0.0", - "esbuild": "^0.8.50", + "esbuild": "^0.8.54", "esbuild-plugin-inline-import": "^1.0.0", "esbuild-plugin-sass": "^0.3.3", "front-matter": "^4.0.2", diff --git a/scripts/build.cjs b/scripts/build.cjs index c986fabf5..1efd0a337 100644 --- a/scripts/build.cjs +++ b/scripts/build.cjs @@ -45,6 +45,7 @@ execSync('node scripts/make-icons.cjs', { stdio: 'inherit' }); target: 'es2017', entryPoints, outdir: './dist', + chunkNames: 'chunks/[name].[hash]', incremental: options.serve, define: { // Popper.js expects this to be set