create-miro-app
Advanced tools
Comparing version 0.10.0 to 0.11.0
@@ -0,4 +1,22 @@ | ||
const path = require('path'); | ||
const fs = require('fs'); | ||
const {defineConfig} = require('vite'); | ||
// make sure vite picks up all html files in root, needed for vite build | ||
const allHtmlEntries = fs | ||
.readdirSync('.') | ||
.filter((file) => path.extname(file) === '.html') | ||
.reduce((acc, file) => { | ||
acc[path.basename(file, '.html')] = path.resolve(__dirname, file); | ||
return acc; | ||
}, {}); | ||
// https://vitejs.dev/config/ | ||
module.exports = defineConfig({}); | ||
module.exports = defineConfig({ | ||
build: { | ||
rollupOptions: { | ||
input: allHtmlEntries, | ||
}, | ||
}, | ||
}); |
@@ -0,4 +1,22 @@ | ||
const path = require('path'); | ||
const fs = require('fs'); | ||
const {defineConfig} = require('vite'); | ||
// make sure vite picks up all html files in root, needed for vite build | ||
const allHtmlEntries = fs | ||
.readdirSync('.') | ||
.filter((file) => path.extname(file) === '.html') | ||
.reduce((acc, file) => { | ||
acc[path.basename(file, '.html')] = path.resolve(__dirname, file); | ||
return acc; | ||
}, {}); | ||
// https://vitejs.dev/config/ | ||
module.exports = defineConfig({}); | ||
module.exports = defineConfig({ | ||
build: { | ||
rollupOptions: { | ||
input: allHtmlEntries, | ||
}, | ||
}, | ||
}); |
@@ -0,7 +1,24 @@ | ||
const path = require('path'); | ||
const fs = require('fs'); | ||
const {defineConfig} = require('vite'); | ||
const reactRefresh = require('@vitejs/plugin-react-refresh'); | ||
// make sure vite picks up all html files in root, needed for vite build | ||
const allHtmlEntries = fs | ||
.readdirSync('.') | ||
.filter((file) => path.extname(file) === '.html') | ||
.reduce((acc, file) => { | ||
acc[path.basename(file, '.html')] = path.resolve(__dirname, file); | ||
return acc; | ||
}, {}); | ||
// https://vitejs.dev/config/ | ||
module.exports = defineConfig({ | ||
build: { | ||
rollupOptions: { | ||
input: allHtmlEntries, | ||
}, | ||
}, | ||
plugins: [reactRefresh()], | ||
}); |
{ | ||
"name": "create-miro-app", | ||
"version": "0.10.0", | ||
"version": "0.11.0", | ||
"keywords": [ | ||
@@ -5,0 +5,0 @@ "miro", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
855623
6206
49