Socket
Socket
Sign inDemoInstall

@ditojs/build

Package Overview
Dependencies
Maintainers
2
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ditojs/build - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

4

package.json
{
"name": "@ditojs/build",
"version": "2.0.0",
"version": "2.1.0",
"type": "module",

@@ -33,4 +33,4 @@ "repository": "https://github.com/ditojs/dito/tree/master/packages/build",

},
"gitHead": "dde9462e778bce37bc4fa3e47127a9ba12a4d5e2",
"gitHead": "5c5048b661395268e720b9ec402d4301bb4a34aa",
"readme": "# Dito.js Build Helper Functions\n\nDito.js is a declarative and modern web framework with a focus on API driven\ndevelopment, based on Koa.js, Objection.js and Vue.js\n\nReleased in 2018 under the MIT license, with support by https://lineto.com/\n"
}

@@ -32,4 +32,3 @@ import { builtinModules, createRequire } from 'module'

addDependencies(packageJson.devDependencies)
} catch (err) {
}
} catch (err) {}
}

@@ -36,0 +35,0 @@

@@ -19,6 +19,9 @@ import { defineConfig } from 'vite'

} = {}) {
const externals = build && getRollupExternalsFromDependencies({
include,
exclude
})
const externals = (
build &&
getRollupExternalsFromDependencies({
include,
exclude
})
)
return defineConfig({

@@ -33,19 +36,19 @@ plugins: vue

? {
minify,
sourcemap,
cssCodeSplit: false,
lib: {
name,
format: ['es', 'umd'],
entry: './src/index.js',
fileName: format => `${name}.${format}.js`
},
rollupOptions: {
external: id => !!externals[id],
output: {
manualChunks: undefined,
globals: externals
minify,
sourcemap,
cssCodeSplit: false,
lib: {
name,
format: ['es', 'umd'],
entry: './src/index.js',
fileName: format => `${name}.${format}.js`
},
rollupOptions: {
external: id => !!externals[id],
output: {
manualChunks: undefined,
globals: externals
}
}
}
}
: null,

@@ -52,0 +55,0 @@ css: css

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