create-miro-app
Advanced tools
Comparing version 1.3.0 to 1.4.0
@@ -1,5 +0,9 @@ | ||
const path = require('path'); | ||
const fs = require('fs'); | ||
const {defineConfig} = require('vite'); | ||
import path from 'path'; | ||
import fs from 'fs'; | ||
import dns from 'dns'; | ||
import {defineConfig} from 'vite'; | ||
// https://vitejs.dev/config/server-options.html#server-host | ||
dns.setDefaultResultOrder('verbatim'); | ||
// make sure vite picks up all html files in root, needed for vite build | ||
@@ -16,3 +20,3 @@ const allHtmlEntries = fs | ||
// https://vitejs.dev/config/ | ||
module.exports = defineConfig({ | ||
export default defineConfig({ | ||
build: { | ||
@@ -23,2 +27,5 @@ rollupOptions: { | ||
}, | ||
server: { | ||
port: 3000, | ||
}, | ||
}); |
@@ -1,5 +0,9 @@ | ||
const path = require('path'); | ||
const fs = require('fs'); | ||
const {defineConfig} = require('vite'); | ||
import path from 'path'; | ||
import fs from 'fs'; | ||
import dns from 'dns'; | ||
import {defineConfig} from 'vite'; | ||
// https://vitejs.dev/config/server-options.html#server-host | ||
dns.setDefaultResultOrder('verbatim'); | ||
// make sure vite picks up all html files in root, needed for vite build | ||
@@ -16,3 +20,3 @@ const allHtmlEntries = fs | ||
// https://vitejs.dev/config/ | ||
module.exports = defineConfig({ | ||
export default defineConfig({ | ||
build: { | ||
@@ -23,2 +27,5 @@ rollupOptions: { | ||
}, | ||
server: { | ||
port: 3000, | ||
}, | ||
}); |
@@ -1,6 +0,10 @@ | ||
const path = require('path'); | ||
const fs = require('fs'); | ||
const {defineConfig} = require('vite'); | ||
const reactRefresh = require('@vitejs/plugin-react-refresh'); | ||
import path from 'path'; | ||
import fs from 'fs'; | ||
import dns from 'dns'; | ||
import {defineConfig} from 'vite'; | ||
import reactRefresh from '@vitejs/plugin-react-refresh'; | ||
// https://vitejs.dev/config/server-options.html#server-host | ||
dns.setDefaultResultOrder('verbatim'); | ||
// make sure vite picks up all html files in root, needed for vite build | ||
@@ -17,3 +21,3 @@ const allHtmlEntries = fs | ||
// https://vitejs.dev/config/ | ||
module.exports = defineConfig({ | ||
export default defineConfig({ | ||
build: { | ||
@@ -25,2 +29,5 @@ rollupOptions: { | ||
plugins: [reactRefresh()], | ||
server: { | ||
port: 3000, | ||
}, | ||
}); |
@@ -1,6 +0,14 @@ | ||
// vite.config.js | ||
import vue from '@vitejs/plugin-vue'; | ||
import dns from 'dns'; | ||
import {defineConfig} from 'vite'; | ||
export default { | ||
// https://vitejs.dev/config/server-options.html#server-host | ||
dns.setDefaultResultOrder('verbatim'); | ||
// https://vitejs.dev/config/ | ||
export default defineConfig({ | ||
plugins: [vue()], | ||
}; | ||
server: { | ||
port: 3000, | ||
}, | ||
}); |
{ | ||
"name": "create-miro-app", | ||
"version": "1.3.0", | ||
"version": "1.4.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
Network access
Supply chain riskThis module accesses the network.
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
748389
2302
12