Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

create-miro-app

Package Overview
Dependencies
Maintainers
4
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-miro-app - npm Package Compare versions

Comparing version 1.0.0-8 to 1.0.0-9

20

dist/_shared_/vite.config.js

@@ -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()],
});

4

package.json
{
"name": "create-miro-app",
"version": "1.0.0-8",
"version": "1.0.0-9",
"keywords": [

@@ -27,3 +27,3 @@ "miro",

"prepare": "husky install",
"release": "np"
"release": "np --tag=beta"
},

@@ -30,0 +30,0 @@ "devDependencies": {

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc