Skip to content

Commit 4f4409b

Browse files
committed
fix: browser targets 🍇
1 parent acd9371 commit 4f4409b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "lightningcss-loader",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"main": "dist/index.js",
55
"description": "Speed up your Webpack build with lightningcss",
66
"keywords": [

src/utils.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ export const getTargets = (opts: {
4141
env: process.env.NODE_ENV || 'production',
4242
})
4343
targetsCache[opts.key] = browserslistToTargets(result)
44-
return targetsCache
44+
return (targetsCache[opts.key] = browserslistToTargets(result))
4545
}

0 commit comments

Comments
 (0)