feat: enable bundling of encrypted modules with CSS injection and external dependency support
This commit is contained in:
+10
-4
@@ -10,16 +10,21 @@
|
||||
"security"
|
||||
],
|
||||
"name": "vite-plugin-component-locker",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.3",
|
||||
"type": "module",
|
||||
"main": "./dist/crypto-locker.umd.cjs",
|
||||
"module": "./dist/crypto-locker.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"import": "./dist/crypto-locker.js",
|
||||
"require": "./dist/crypto-locker.umd.cjs"
|
||||
},
|
||||
"./plugin": "./src/plugin.ts"
|
||||
"./plugin": {
|
||||
"types": "./dist/plugin.d.ts",
|
||||
"default": "./src/plugin.ts"
|
||||
}
|
||||
},
|
||||
"files": [
|
||||
"dist",
|
||||
@@ -36,6 +41,7 @@
|
||||
"devDependencies": {
|
||||
"@types/crypto-js": "^4.2.2",
|
||||
"@types/mime-types": "^3.0.1",
|
||||
"@types/node": "^25.9.2",
|
||||
"@types/react": "^19.1.0",
|
||||
"@types/react-dom": "^19.1.0",
|
||||
"@vitejs/plugin-react": "^4.5.2",
|
||||
@@ -45,6 +51,6 @@
|
||||
"vite": "^6.3.5"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "vite build"
|
||||
"build": "vite build && tsc --emitDeclarationOnly"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user