create-miro-app
Advanced tools
Comparing version 0.8.1 to 0.8.2
const path = require('path'); | ||
const fs = require('fs'); | ||
const {defineConfig} = require('vite'); | ||
@@ -6,9 +7,16 @@ const mkcert = require('vite-plugin-mkcert').default; | ||
// make sure vite picks up all html files in root | ||
const allHtmlEntries = fs | ||
.readdirSync('.') | ||
.filter((file) => path.extname(file) === '.html') | ||
.reduce((acc, file) => { | ||
acc[path.basename(file, '.html')] = path.resolve(__dirname, file); | ||
return acc; | ||
}, {}); | ||
module.exports = defineConfig({ | ||
build: { | ||
rollupOptions: { | ||
input: { | ||
index: path.resolve(__dirname, 'index.html'), | ||
app: path.resolve(__dirname, 'app.html'), | ||
}, | ||
input: allHtmlEntries, | ||
}, | ||
@@ -15,0 +23,0 @@ }, |
const path = require('path'); | ||
const fs = require('fs'); | ||
const {defineConfig} = require('vite'); | ||
@@ -6,9 +7,16 @@ const mkcert = require('vite-plugin-mkcert').default; | ||
// make sure vite picks up all html files in root | ||
const allHtmlEntries = fs | ||
.readdirSync('.') | ||
.filter((file) => path.extname(file) === '.html') | ||
.reduce((acc, file) => { | ||
acc[path.basename(file, '.html')] = path.resolve(__dirname, file); | ||
return acc; | ||
}, {}); | ||
module.exports = defineConfig({ | ||
build: { | ||
rollupOptions: { | ||
input: { | ||
index: path.resolve(__dirname, 'index.html'), | ||
app: path.resolve(__dirname, 'app.html'), | ||
}, | ||
input: allHtmlEntries, | ||
}, | ||
@@ -15,0 +23,0 @@ }, |
const path = require('path'); | ||
const fs = require('fs'); | ||
const {defineConfig} = require('vite'); | ||
const mkcert = require('vite-plugin-mkcert').default; | ||
// make sure vite picks up all html files in root | ||
const allHtmlEntries = fs | ||
.readdirSync('.') | ||
.filter((file) => path.extname(file) === '.html') | ||
.reduce((acc, file) => { | ||
acc[path.basename(file, '.html')] = path.resolve(__dirname, file); | ||
return acc; | ||
}, {}); | ||
module.exports = defineConfig({ | ||
build: { | ||
rollupOptions: { | ||
input: { | ||
index: path.resolve(__dirname, 'index.html'), | ||
app: path.resolve(__dirname, 'app.html'), | ||
}, | ||
input: allHtmlEntries, | ||
}, | ||
@@ -13,0 +21,0 @@ }, |
const path = require('path'); | ||
const fs = require('fs'); | ||
const {defineConfig} = require('vite'); | ||
const mkcert = require('vite-plugin-mkcert').default; | ||
// make sure vite picks up all html files in root | ||
const allHtmlEntries = fs | ||
.readdirSync('.') | ||
.filter((file) => path.extname(file) === '.html') | ||
.reduce((acc, file) => { | ||
acc[path.basename(file, '.html')] = path.resolve(__dirname, file); | ||
return acc; | ||
}, {}); | ||
module.exports = defineConfig({ | ||
build: { | ||
rollupOptions: { | ||
input: { | ||
index: path.resolve(__dirname, 'index.html'), | ||
app: path.resolve(__dirname, 'app.html'), | ||
}, | ||
input: allHtmlEntries, | ||
}, | ||
@@ -13,0 +21,0 @@ }, |
{ | ||
"name": "create-miro-app", | ||
"version": "0.8.1", | ||
"version": "0.8.2", | ||
"keywords": [ | ||
@@ -5,0 +5,0 @@ "miro", |
Sorry, the diff of this file is too big to display
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
1199494
8336
44