
Product
Socket Now Supports pylock.toml Files
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
elm-webpack-project-loader
Advanced tools
Specify location of main modules to build using an elm project file.
npm install elm-webpack-project-loader
.elmproj
webpack loader.module: {
rules: [{
test: /\.elmproj$/,
loader: 'elm-webpack-project-loader',
}],
noParse: /\.elmproj$/,
},
var Elm = require('./path-to-elm-project.elmproj')
A JSON file that specifies the location of the elm.json
, the main files to build, and the root of your project files.
Assuming the file structure:
/app
/src
| /elm
|---- /Components
|-------- /WidgetA
|----------- Main.elm
|-------- /WidgetB
|----------- Main.elm
|
elm.json
my-app.elmproj
The .elmproj file
{
"elm-json-dir": "./",
"main-modules": [
"./src/elm/Components/WidgetA/Main.elm",
"./src/elm/Components/WidgetB/Main.elm"
]
}
Append the 'debug' query string to the end of the loader.
module: {
rules: [{
test: /\.elmproj$/,
loader: 'elm-webpack-project-loader?debug=true',
}],
noParse: /\.elmproj$/,
},
FAQs
Webpack Loader for Elm Projects.
The npm package elm-webpack-project-loader receives a total of 150 weekly downloads. As such, elm-webpack-project-loader popularity was classified as not popular.
We found that elm-webpack-project-loader demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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 now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.
Research
Security News
Malicious Ruby gems typosquat Fastlane plugins to steal Telegram bot tokens, messages, and files, exploiting demand after Vietnam’s Telegram ban.