
Product
Rust Support Now in Beta
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
underdog-collie2
Advanced tools
CLI tool for compiling production-ready universal JavaScript applications, powered by webpack.
CLI tool for compiling production-ready universal JavaScript applications, powered by webpack.
npm install underdog-collie
Create a .babelrc
file in the root of your project to configure Babel:
{
"presets": [
["env", {
"targets": {
"browsers": ["last 2 versions"],
"node": "current"
}
}],
"react"
]
}
Also create a file named collie.config.js
in the root of your project:
// Example collie config
const {join} = require('path');
module.exports = {
// Specify an array of files to build with webpack.
build: [{
// Specify target.
target: 'browser',
// Specify entry options to pass to webpack.
entry: {
app: join(__dirname, 'browser.js')
},
// Specify output
output: {
path: join(__dirname, 'dist/static'),
publicPath: '/static/'
},
// Pass options for html-webpack-plugin. Setting html to an array of objects
// will create a new instance of the html-webpack-plugin with each object.
html: {
template: join(__dirname, 'index.html'),
filename: join(__dirname, 'dist/index.html'),
inject: true
}
}, {
// Create a JavaScript bundle for server side use.
target: 'server',
entry: {
server: join(__dirname, 'server')
},
output: {
path: join(__dirname, 'dist')
}
}]
};
Create a build:
collie build
or watch files for development:
collie build --watch
FAQs
CLI tool for compiling production-ready universal JavaScript applications, powered by webpack.
The npm package underdog-collie2 receives a total of 0 weekly downloads. As such, underdog-collie2 popularity was classified as not popular.
We found that underdog-collie2 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.