Commit graph

36 commits

Author SHA1 Message Date
Daniel La Rocque
ee740b9089
Fix typo in README.md (#592)
'settig' -> 'setting'
2024-05-24 11:02:14 -04:00
Albert
9ade240dc5
update README.md (#581)
add ticks to autowatch
2023-11-26 21:42:57 -05:00
Cody Mikol
908e03c5ad
Revert "chore: fix maintainers images being squished (#576)" (#577)
This reverts commit 701a082ce4.
2023-10-21 20:48:16 -04:00
Cody Mikol
701a082ce4
chore: fix maintainers images being squished (#576)
seemed disrespectful 🤷

Fixes N/A
2023-10-21 20:45:10 -04:00
Cody Mikol
09d976cfbe
chore: update maintainers (#575)
...

Fixes N/A
2023-10-21 20:26:08 -04:00
Cody Mikol
16078dc6a7
chore: update badges (#574)
* remove gitter, its just full of spam, github issues /
discussion can fill that gap
* remove travis build, doesn't seem to be active now
* remove dependencies badge, its dead

Fixes N/A
2023-10-21 20:23:38 -04:00
Ryan Clark
e2423b47ec
chore: release v5.0.0 2021-02-02 11:55:23 +00:00
Cody Mikol
d6036796f3
change(readme): made minor adjustments (#476)
* Added myself as a maintainer
* Removed scary warning about webpack
framework as we handle this better
* Removed comment about internals

Fixes N/A
2021-01-31 21:24:32 -05:00
Cody Mikol
ea3dabe7f7
fix(controller): add entropy to default dir (#469)
This adds a random number to the end of the
default karma_webpack directory. This will
prevent projects running multiple instances
of karma webpack in parallel from stepping
on one another.

Fixes #465
2021-01-29 00:09:27 -05:00
Ryan Clark
f7af31f0a7
chore(readme): add next tag to install command 2020-12-06 14:37:11 +00:00
Ryan Clark
8d7366f3cb chore: fix support for webpack v5 2020-12-06 13:56:15 +00:00
Thomas Allmer
1696bfdf4c fix(karma-webpack): disable karma watch; use webpack watch only (#386) 2019-01-01 11:41:03 -08:00
Thomas Allmer
2ab7ad50a3 feat(karma-webpack): Add webpack as framework and use shared bundles (#380)
Closes #379 
BREAKING CHANGE: webpack needs to be added to frameworks

```
// old:
frameworks: ['mocha'],

// new:
frameworks: ['mocha', 'webpack'],
```

BREAKING CHANGE: old alternative usage is no longer recommended
BREAKING CHANGE: webpack-dev-middleware removed
BREAKING CHANGE: default webpack configuration changed drastically
2018-12-12 19:44:04 -08:00
Michael Ciniawsky
31862ff848 docs(README): standardize 2018-02-25 21:07:33 +01:00
Viktor Zozuliak
ec1badfa14 docs(README): update link to latest docs (webpack.js.org) (#270) 2017-10-19 11:18:59 +02:00
Vincent Teo
dbd72cb104 docs: update badge references (#265) 2017-10-05 03:29:02 -05:00
Michael Main
f3a9e8ee41 docs(readme): fix typo (#228) 2017-02-27 14:26:11 -06:00
Bryant Syme
d0c1316884 chore(docs): Remove plugins property from example (#160)
karma loads all plugins with 'karma-' automatically, including 'plugins' property in config leads to cryptic error messages when attempting to run karma.
2016-08-05 01:01:44 -05:00
Rogério Chaves
04719d440f Update Readme example to not let karma watch files(#95)
* Do not let karma watch files

This prevents specs from running twice every time a file changes, because the webpack already triggers a rerun when recompiled.

Thanks to this comment: https://github.com/webpack/karma-webpack/issues/44#issuecomment-133619802

* Removed array wrapping and default options

* Removed extra colon
2016-08-03 01:26:55 -05:00
MikaAK
1b3a4e089e chore(docs) Update README and change to match template from html5-loader 2016-07-25 20:45:18 -07:00
Islam Sharabash
f09673b1b9 Adding note that beforeMiddleware is only supported in karma version >1.0 2016-07-25 13:27:00 -07:00
Islam Sharabash
104dd8c0e9 Adding documentation for the webpackBlocker middleware 2016-07-25 13:12:17 -07:00
MikaAK
32b5b90c61 Merge branch 'master' of git://github.com/tb/karma-webpack into tb-master 2016-07-23 18:17:21 -07:00
Tomasz Bak
fe03dc6b85 silence webpack output using stats: 'errors-only'
see https://github.com/webpack/webpack/issues/1191 - noInfo: true did not work
2016-02-08 23:27:30 +01:00
Simen Bekkhus
dcbb3faaf7 Remove plugin section from example
Plugins starting with `karma-` are auto-incuded

Fixes #46
2016-01-23 14:37:41 +01:00
Ankeet Maini
d6b43f9bb2 Fixes a typo. 2015-09-28 10:16:03 +05:30
Tobias Koppers
5e4f0fb8fc copyright 2015-05-04 20:59:46 +02:00
kpdecker
4db81318d3 Utilize webpack-dev-middleware for hosting
The prior solution of pushing all content to the to the webpack server broke down for globs and watching. Karma really desires files and also prefers one to one mapping of said files and trying to fight that was not fruitful.

Instead opted to move all entry points back to the normal Karma serving routes and any auxiliary resources through the middleware.

This also removes much of the complexity and potential overhead relating to tracking individual file changes as Karma does not seem to do incremental testing and a filelist refresh will ensure that the rebuild occurs.

Fixes #1
2015-01-05 02:41:36 -06:00
kpdecker
b1875844a4 Avoid overwrite with MultiCompiler
Implements a fairly large rework of how tests execute to fully support MutliCompilers:

1. Uses webpack-dev-server to host all content.
2. Move all watch behavior to webpack-dev-server
3. Outputs each config build to separate path
4. Wraps mocha tests in bdd suite noting the config name

This introduces a breaking change as the ‘webpack’ framework must now be declared in order to properly populate the test file list.
2014-12-25 20:40:55 -06:00
Tobias Koppers
4651bb3360 documentation 2014-10-15 09:34:34 +02:00
Karolis Narkevicius
2abab6666c Improve documentation - recommend more useful default configuration
- add installation instructions
- mention sourcemaps
- separate optional options from the recommended configuration
- update the example tests to use the new defaults in example dir
2014-09-11 11:05:43 +01:00
Sam Walsh
129452b567 Fixed typo in README 2014-07-26 14:01:28 +12:00
Sam Walsh
02f01f032a Fixed syntax error in config of README 2014-07-26 14:00:27 +12:00
Tobias Koppers
69f508c9a7 fixed spelling 2014-01-19 12:22:11 +01:00
Tobias Koppers
1ae139250e renamed karma-webpack 2014-01-19 12:17:10 +01:00
Tobias Koppers
506debb5dc Initial commit 2014-01-05 01:07:03 +01:00