__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
const path = require( 'path' );
const jetpackWebpackConfig = require( '@automattic/jetpack-webpack-config/webpack' );
module.exports = [
{
devtool: jetpackWebpackConfig.devtool,
entry: {
editor: './src/js/editor.js',
},
externals: {
...jetpackWebpackConfig.externals,
jetpackConfig: JSON.stringify( {
consumer_slug: 'jetpack-blaze',
} ),
},
mode: jetpackWebpackConfig.mode,
node: false,
module: {
strictExportPresence: true,
rules: [
// Transpile JavaScript.
jetpackWebpackConfig.TranspileRule( {
exclude: /node_modules\//,
} ),
// Transpile @automattic/jetpack-* in node_modules too.
jetpackWebpackConfig.TranspileRule( {
includeNodeModules: [ '@automattic/jetpack-' ],
} ),
// Handle CSS.
jetpackWebpackConfig.CssRule( {
extensions: [ 'css', 'sass', 'scss' ],
extraLoaders: [ 'sass-loader' ],
} ),
// Handle images.
jetpackWebpackConfig.FileRule(),
],
},
output: {
...jetpackWebpackConfig.output,
path: path.join( __dirname, './build' ),
},
optimization: {
...jetpackWebpackConfig.optimization,
},
plugins: [
...jetpackWebpackConfig.StandardPlugins( {
DependencyExtractionPlugin: { injectPolyfill: true },
} ),
],
resolve: {
...jetpackWebpackConfig.resolve,
},
},
];
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| build | Folder | 0755 |
|
|
| src | Folder | 0755 |
|
|
| CHANGELOG.md | File | 9.74 KB | 0644 |
|
| LICENSE.txt | File | 17.98 KB | 0644 |
|
| SECURITY.md | File | 2.45 KB | 0644 |
|
| webpack.config.js | File | 1.29 KB | 0644 |
|