Skip to content

Commit 11f25a2

Browse files
authored
Use lightningcss to process CSS (#5485)
* Use lightningcss to process CSS * Shorten prefix * Add local to name as hash is the file hash * CI? * Process css in test env
1 parent d1cd51a commit 11f25a2

File tree

7 files changed

+367
-37
lines changed

7 files changed

+367
-37
lines changed

package-lock.json

Lines changed: 316 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@
208208
"tsup": "^8.3.6",
209209
"typescript": "^5.7.3",
210210
"typescript-plugin-css-modules": "^5.1.0",
211+
"unplugin-lightningcss": "^0.4.1",
211212
"xmlbuilder": "^15.1.1"
212213
},
213214
"dependencies": {

packages/bundle/tsup.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const config: typeof baseConfig = {
3838
SPEECH_CONDUCT_OCSP_CHECK: '',
3939
SPEECH_OCSP_CACHE_ROOT: ''
4040
},
41-
esbuildPlugins: [...(baseConfig.esbuildPlugins || []), resolveCognitiveServicesToES2015],
41+
esbuildPlugins: [resolveCognitiveServicesToES2015],
4242
noExternal: [
4343
'@babel/runtime',
4444
'memoize-one',

0 commit comments

Comments
 (0)