
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
stc-requirejs-bundle
Advanced tools
Combine amd modules
npm install stc-requirejs-bundle
var requirejsBundle = require('stc-requirejs-bundle');
/**
* @param include [optional]: files that you want to bundle
* @param baseUrl [optional]: identical with "baseUrl" in require.config
* @param commonModule [optional]: `path-moduleArray` pairs:
* `path` are paths in which files will not have content of
* `moduleArray` and content of `moduleArray`'s dependencies in the output.
* i.e. 'resource/js/mobile/index.js' will not have 'js/mobile/views/indexView' content in the output file,
* even it depends on 'js/mobile/views/indexView'
* in that case, you need to include 'js/mobile/views/indexView' in your html manually.
**/
stc.workflow({
requirejsBundle: {
plugin: requirejsBundle,
include: 'resource/js/mobile/index.js',
options: {
baseUrl: 'resource/',
commonModule: {
'resource/js/mobile/': [
'js/mobile/views/indexView'
]
}
}
},
});
FAQs
bundle amd modules
The npm package stc-requirejs-bundle receives a total of 3 weekly downloads. As such, stc-requirejs-bundle popularity was classified as not popular.
We found that stc-requirejs-bundle 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.