Move chunks to separate folder

pull/356/head
Cory LaViska 2021-03-02 17:23:49 -05:00
rodzic ffebe1583e
commit 1f9771a2d6
4 zmienionych plików z 10 dodań i 4 usunięć

Wyświetl plik

@ -6,6 +6,11 @@ Components with the <sl-badge type="warning" pill>Experimental</sl-badge> 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).

6
package-lock.json wygenerowano
Wyświetl plik

@ -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": {

Wyświetl plik

@ -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",

Wyświetl plik

@ -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