Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
@anolilab/blitz-webpack-utils
Advanced tools
Daniel Bannert's open source work is supported by the community on GitHub Sponsors
npm install --dev-save @anolilab/blitz-webpack-utils
or
yarn add --dev @anolilab/blitz-webpack-utils
These helpers can be used to find specific files in all blitz ['src', 'app', 'integrations']
folders.
This example will find all files in the sub-folder commands
and add it to the build process.
import { BlitzConfig, sessionMiddleware, simpleRolesIsAuthorized } from "blitz";
import { collect } from "@anolilab/blitz-webpack-utils";
const config: BlitzConfig = {
middleware: [
sessionMiddleware({
cookiePrefix: "blitz",
isAuthorized: simpleRolesIsAuthorized,
}),
],
webpack: (config, { buildId, dev, isServer, defaultLoaders, webpack }) => {
if (isServer) {
return {
...config,
entry() {
return config.entry().then(async (entry) => {
const allCommands = await collect("commands", __dirname);
const commands: { [key: string]: string } = {};
allCommands.forEach((commandPath) => {
commands[commandPath.replace(/\.[^./]+$/, "").slice(1)] = `.${commandPath}`;
});
return {
...entry,
...commands,
};
});
},
};
}
return config;
},
};
module.exports = config;
Libraries in this ecosystem make the best effort to track Node.js' release schedule. Here's a post on why we think this is important.
If you would like to help take a look at the list of issues and check our Contributing guild.
Note: please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
The anolilab blitz-webpack-utils is open-sourced software licensed under the MIT license
FAQs
Webpack utils for Blitz.js
The npm package @anolilab/blitz-webpack-utils receives a total of 0 weekly downloads. As such, @anolilab/blitz-webpack-utils popularity was classified as not popular.
We found that @anolilab/blitz-webpack-utils 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.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.