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 18ccb5a commit 0249b7fCopy full SHA for 0249b7f
packages/scripts/templates/wpackio.project.js.hbs
@@ -33,6 +33,12 @@ module.exports = {
33
// vendor: './src/mobile/vendor.js', // Could be a string
34
// main: ['./src/mobile/index.js'], // Or an array of string (string[])
35
// },
36
+ // // If enabled, all WordPress provided external scripts, including React
37
+ // // and ReactDOM are aliased automatically. Do note that all `@wordpress`
38
+ // // namespaced imports are automatically aliased and enqueued by the
39
+ // // PHP library. It will not change the JSX pragma because of external
40
+ // // dependencies.
41
+ // optimizeForGutenberg: false,
42
// // Extra webpack config to be passed directly
43
// webpackConfig: undefined,
44
0 commit comments