We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8a4ff4 commit 266ad5dCopy full SHA for 266ad5d
src/index.ts
@@ -1,4 +1,4 @@
1
-import {WebpackConfig, get} from '@easy-webpack/core'
+import {WebpackConfigWithMetadata, get} from '@easy-webpack/core'
2
const OfflinePlugin = require('offline-plugin')
3
4
/**
@@ -9,7 +9,7 @@ const OfflinePlugin = require('offline-plugin')
9
* See: https://github.com/NekR/offline-plugin
10
*/
11
export = function offline({options}:{options?:any} = {}) {
12
- return function offline(this: WebpackConfig): WebpackConfig {
+ return function offline(this: WebpackConfigWithMetadata): WebpackConfigWithMetadata {
13
return {
14
plugins: get(this, 'plugins', []).concat([
15
new OfflinePlugin(options),
0 commit comments