0.8.2 • Published 19 days ago
@open-editor/webpack v0.8.2
@open-editor/webpack
A webpack plugin for fast find source code.
Valid only during development, requires Node.js version 14+.
Install
npm -D i @open-editor/webpack
Usage
// webpack.config.js
const OpenEditorWebpackPlugin = require('@open-editor/webpack');
module.exports = {
plugins: [
new OpenEditorWebpackPlugin({
/* options */
}),
// other plugins
],
};
Configuration
interface Options {
/**
* source rootDir path
*
* @default process.cwd()
*/
rootDir?: string;
/**
* render the toggle into the browser
*
* @default true
*/
displayToggle?: boolean;
/**
* set UI color mode
*
* @default 'system'
*/
colorMode?: 'system' | 'light' | 'dark';
/**
* Disable hover effect from CSS when inspector is enabled
*
* @default true
*/
disableHoverCSS?: boolean;
/**
* The inspector remains rendered when the browser is idle
*
* @default true
*/
retainFrame?: boolean;
/**
* exit the check after opening the editor or component tree
*
* @default true
*/
once?: boolean;
/**
* custom openEditor handler
*
* @default 'launch-editor'
*/
onOpenEditor?(file: string): void;
}
Playgrounds
Source code | Online trial |
---|---|
webpack/react | StackBlitz |
webpack/nextjs | StackBlitz |
webpack/vue | StackBlitz |
webpack/nuxt | StackBlitz |
0.8.2
19 days ago
0.8.1
21 days ago
0.8.0
21 days ago
0.7.4
1 month ago
0.7.3
4 months ago
0.7.2
4 months ago
0.7.1
4 months ago
0.7.0
5 months ago
0.6.4
5 months ago
0.6.3
5 months ago
0.6.2
5 months ago
0.6.1
6 months ago
0.6.0
6 months ago
0.5.3
6 months ago
0.5.2
7 months ago
0.5.0
7 months ago
0.4.1
7 months ago
0.4.0
7 months ago
0.3.0
7 months ago
0.2.3
7 months ago
0.2.2
7 months ago
0.2.1
7 months ago
0.2.0
8 months ago
0.1.0
8 months ago
0.0.16
8 months ago
0.0.15
8 months ago
0.0.14
8 months ago
0.0.13
8 months ago
0.0.12
9 months ago
0.0.11
9 months ago
0.0.10
9 months ago
0.0.9
9 months ago
0.0.8
9 months ago
0.0.7
9 months ago
0.0.6
9 months ago
0.0.5
10 months ago
0.0.4
10 months ago
0.0.3
10 months ago
0.0.2
10 months ago
0.0.1
10 months ago