@ditojs/build
Advanced tools
Comparing version 2.0.0 to 2.1.0
{ | ||
"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 |
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
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
6716
152