Comments (2)
Yep, that's because --compilers
is an invalid option for mocha-webpack. There's no need for this option because webpack already have loaders.
For your use case, please have a look at babel-loader.
from mocha-webpack.
that makes sense, i actually just copied my mocha configs to mocha-webpack,
it really took me a long time to figure out this problem, i think it will
be better to throw an error to indicate that : )
On Monday, 27 June 2016, Jan-André Zinser [email protected] wrote:
Yep, that's because --compilers is an invalid option for mocha-webpack.
There's no need for this option because webpack already have loaders
https://webpack.github.io/docs/loaders.html.For your use case, please have a look at babel-loader
https://github.com/babel/babel-loader.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#23 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AAegnq2u8WvR5TSzw7Iknz0w4rGa6bFkks5qP4dEgaJpZM4I-1zR
.
发自移动版 Gmail
from mocha-webpack.
Related Issues (20)
- Error when using `--watch` flag as documented HOT 1
- An in-range update of loader-utils is breaking the build 🚨 HOT 6
- An in-range update of interpret is breaking the build 🚨 HOT 1
- An in-range update of chalk is breaking the build 🚨 HOT 1
- Dies silently HOT 1
- RUNTIME EXCEPTION Exception occurred while loading your tests Cannot read property 'assign' HOT 1
- Compatibility issue with webpack > 4.28.3 HOT 5
- `Mochapack` a fork of `mocha-webpack` released with Mocha 6 support HOT 14
- An in-range update of source-map-support is breaking the build 🚨 HOT 9
- An in-range update of is-glob is breaking the build 🚨 HOT 1
- An in-range update of tiny-worker is breaking the build 🚨 HOT 2
- Cannot find module - VueSSRServerPlugin
- Solved: Mocha 6, Webpack 4, Cyclic dependencies Errors HOT 3
- jsdom is not a function + SecurityError localStorage workaround
- allow-uncaught ?
- Mocha Chai vue testing a vue component : this.$notify is not a function HOT 1
- Conflict: Multiple assets emit to the same filename bundle.js
- WEBPACK Failed to compile with 1 error TypeError: mocha.useColors is not a function HOT 2
- You may need an appropriate loader
- Webpack 5 support HOT 2
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 mocha-webpack.