From d6036796f3250a7e7230e8181ff13c6b12cf28ae Mon Sep 17 00:00:00 2001 From: Cody Mikol Date: Sun, 31 Jan 2021 21:24:32 -0500 Subject: [PATCH] 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 --- README.md | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index bfd7453..546db7b 100644 --- a/README.md +++ b/README.md @@ -20,13 +20,11 @@

Install

-```bash -npm i -D karma-webpack@next -``` +npm `npm i -D karma-webpack@next` -

Usage

+yarn `yarn add -D karma-webpack@next` -**Note: it's very important that you include `webpack` as a framework, otherwise your tests will not run.** +

Usage

**karma.conf.js** ```js @@ -34,7 +32,7 @@ module.exports = (config) => { config.set({ // ... normal karma configuration - // add webpack to your list of frameworks + // make sure to include webpack as a framework frameworks: ['mocha', 'webpack'], plugins: [ @@ -95,14 +93,6 @@ const defaultWebpackOptions = { }, }, plugins: [], - // Something like this will be auto added by this.configure() - // entry: { - // 'foo-one.test.js': 'path/to/test/foo-one.test.js', - // 'foo-two.test.js': 'path/to/test/foo-two.test.js', - // }, - // plugins: [ - // new KarmaSyncPlugin() - // ], }; ``` @@ -167,6 +157,12 @@ webpack: {
Ryan Clark + + +
+ Cody Mikol +