Comments (8)
I don't. Tried out a couple of things but didn't have much luck :/
from elm-webpack-loader.
@Skinney Any idea why ^0.19.1-0 || 0.19.0-no-deps
doesn't seem to match 0.19.1
according to https://semver.npmjs.com/ (while ^0.19.0-0 || 0.19.0-no-deps
does seem to match 0.19.0
)?
from elm-webpack-loader.
Guess we'll have to look upstream π
from elm-webpack-loader.
I ended up ditching webpack for a custom Elm buildpack (we're on Heroku) and Parcel. Was a rough few days not being able to deploy.
from elm-webpack-loader.
@heyakyra I think it makes sense to ^0.19.1-0 || 0.19.0-no-deps
. At least then we get the latest 0.19.1 release.
from elm-webpack-loader.
This issue gave me a reason give Parcel a try. Turned out the switch was quite easy. I find Parcel much easier to use than Webpack. I am not going back to Webpack :-)
from elm-webpack-loader.
This seems to work for me when I DONT have elm as a peer dependency and instead have it installed on the CLI, does that make any sense?
I get this warning
npm WARN [email protected] requires a peer of [email protected] || ^0.19.1 but none is installed. You must install peer dependencies yourself.
But it still compiles fine?
from elm-webpack-loader.
Sure. A peer dependency should only give you a warning that you need to install something yourself. We don't actually depend on elm being installed by npm, just that it exists. Us definining it as a peer dependency is just a way of telling our users that it should be of a certain version, but we'll try running it anyways.
from elm-webpack-loader.
Related Issues (20)
- Path with a space fails compilation
- The old version of yargs being used in the dependencies has vulnerabilities
- Replacing strings in generated output
- Version 7.0.1/8.0.0 can cause memory problems on Windows HOT 1
- Version 7.01 doesn't observe source code changes anymore HOT 14
- `npm install --save elm-webpack-loader` fails HOT 1
- Webpack 5 error in the browser HOT 1
- This loader should not expect `--watch` for the dev server HOT 9
- Error: Cannot find module 'temp'
- Do not see elm compiler erros in browser console anymore HOT 2
- Problem with the NPM package - 403 Forbidden from dl.bintray.com HOT 1
- elm-webpack-loader appears to be trying to use file without main as an entrypoint HOT 3
- Compilation causing cache errors with version 7 and 8 HOT 1
- 8.0.0 compiles all the Elm files on a single file change HOT 4
- Usage with webpack5's new `cache.type = 'filesystem'` seems broken across builds.
- Elm errors donβt show up on overlay anymore HOT 1
- Facilitate applying patches
- CVE-2022-37601 (update loader-utils to v3)
- quick usage help question - `Compiler process exited with error Compilation failed` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elm-webpack-loader.