@starnetbih/app-configuration
Advanced tools
Comparing version 0.1.5 to 0.1.6
{ | ||
"name": "@starnetbih/app-configuration", | ||
"description": "An Aurelia 2 basic app-settings plugin (alpha)", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"repository": { | ||
@@ -11,4 +11,3 @@ "type": "git", | ||
"dependencies": { | ||
"aurelia": "latest", | ||
"tslib": "^2.3.1" | ||
"aurelia": "latest" | ||
}, | ||
@@ -29,9 +28,3 @@ "devDependencies": { | ||
"postcss-loader": "^6.2.1", | ||
"postcss-url": "^10.1.3", | ||
"rimraf": "^3.0.2", | ||
"rollup": "^2.68.0", | ||
"rollup-plugin-html": "^0.2.1", | ||
"rollup-plugin-postcss": "^4.0.2", | ||
"rollup-plugin-terser": "^7.0.2", | ||
"rollup-plugin-typescript2": "^0.31.2", | ||
"style-loader": "^3.3.1", | ||
@@ -43,3 +36,4 @@ "ts-loader": "^9.2.6", | ||
"webpack-cli": "^4.9.1", | ||
"webpack-dev-server": "^4.7.3" | ||
"webpack-dev-server": "^4.7.3", | ||
"webpack-node-externals": "^3.0.0" | ||
}, | ||
@@ -53,4 +47,4 @@ "scripts": { | ||
"analyze": "rimraf dist && webpack --env production --analyze", | ||
"build2": "rollup -c && tsc" | ||
"prepare": "npm run build" | ||
} | ||
} |
@@ -6,2 +6,3 @@ /* eslint-disable @typescript-eslint/no-var-requires */ | ||
const Dotenv = require('dotenv-webpack'); | ||
const nodeExternals = require('webpack-node-externals'); | ||
@@ -23,3 +24,3 @@ const cssLoader = 'css-loader'; | ||
return { | ||
target: 'web', | ||
target: production ? 'node' : 'web', | ||
mode: production ? 'production' : 'development', | ||
@@ -32,3 +33,4 @@ devtool: production ? undefined : 'eval-cheap-source-map', | ||
path: path.resolve(__dirname, 'dist'), | ||
filename: production ? '[name].[contenthash].bundle.js' : '[name].bundle.js' | ||
filename: production ? 'index.js' : '[name].bundle.js', | ||
library: production ? { type: 'commonjs' } : undefined | ||
}, | ||
@@ -57,2 +59,7 @@ resolve: { | ||
}, | ||
externalsPresets: { node: production }, | ||
externals: [ | ||
// Skip npm dependencies in plugin build. | ||
production && nodeExternals() | ||
].filter(p => p), | ||
plugins: [ | ||
@@ -59,0 +66,0 @@ new HtmlWebpackPlugin({ template: 'index.html' }), |
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
34841
1
22
16
192
- Removedtslib@^2.3.1
- Removedtslib@2.8.1(transitive)