
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.
requirejs-riotcompile
Advanced tools
AMD loader for riot.js tags
$ bower install requirejs-riotcompile --save
or using npm
$ npm install requirejs-riotcompile --save
To use require-riotcompile
you should set paths for Riot.js and requirejs-text
requirejs.config({
paths : {
riot : 'path/to/riot+compiler.js',
text : 'path/to/requirejs-text/text',
riotcompile: 'path/to/require-riotcompile/require-riotcompile'
}
});
To get precompiled tag, require it with riotcompile!
. As riotcompile
uses text
plugin, required file may have any extension(.html
, .tag
or anything else)
require('riot', 'riotcompile!./component.html', function(riot){
riot.mount('component');
});
On build use stubModules
to stub text
and riotcompile
plugins
({
stubModules: ['text','riotcompile']
})
If necessary, you can set riot
path to version without compiler
({
paths: {
riot: 'path/to/riot.js'
}
})
MIT © Dmitriy Poluektov
FAQs
AMD loader for riot.js tags
The npm package requirejs-riotcompile receives a total of 1 weekly downloads. As such, requirejs-riotcompile popularity was classified as not popular.
We found that requirejs-riotcompile 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.