Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
elmx-webpack-preloader
Advanced tools
Readme
Compile elmx to elm files before using elm-webpack-loader
npm install --save-dev elmx-webpack-preloader
Add the preload to your webpack config.
Any .elmx
dependency will be compiled to an .elm
file.
If no outputDirectory
is specified, the compiled elm will be placed
in the same directory as it's elmx source.
{
module: {
preLoaders: [
{
// Notice that the preloader actually reads .elm files looking for dependencies to be compiled from elmx
test: /\.elm$/,
loader: 'elmx-webpack-preloader',
include: [join(__dirname, "src/elm")],
query: {
sourceDirectories: ['src/elm']
outputDirectory: '.tmp/elm'
}
}
],
loaders: [
{
test: /\.elm$/,
loader: 'elm-webpack',
include: [join(__dirname, "src/elm"), join(__dirname, ".tmp/elm")]
}
]
}
}
When using an outputDirectory
make sure to include it on your elm-package.json
{
"source-directories": [
"src/elm",
".tmp/elm"
]
}
FAQs
Webpack preloader to pre-compile elmx into elm files.
The npm package elmx-webpack-preloader receives a total of 6 weekly downloads. As such, elmx-webpack-preloader popularity was classified as not popular.
We found that elmx-webpack-preloader 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.