Skip to content

Commit

Permalink
adding missing copy
Browse files Browse the repository at this point in the history
  • Loading branch information
iruzevic committed Jul 2, 2024
1 parent af49634 commit e88e2a3
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions website/docs/migrations/11-12.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,3 +190,31 @@ The fastest way to change them is to search and replace `Components::` with `Hel
We removed `getGeneratedLabels` helper so you should update your custom post type or taxonomy registration.

You can check the [custom post type example](https://github.com/infinum/eightshift-libs/blob/main/src/CustomPostType/PostTypeExample.php) or [custom taxonomy example](https://github.com/infinum/eightshift-libs/blob/main/src/CustomTaxonomy/TaxonomyExample.php) from the boilerplate.

### Update webpack config

**Migration time: ~2min.**

We have removed `BrowserSync` from the project so you should update your webpack config.

**Before:**
```js
const projectConfig = {
config: {
projectDir: __dirname, // Current project directory absolute path.
projectUrl: 'eightshift.com', // Used for providing browsersync functionality.
projectPath: 'wp-content/plugins/eightshift-forms', // Project path relative to project root.
useSsl: true, // Whether to use https or http.
},
};
```

**After:**
```js
const projectConfig = {
config: {
projectDir: __dirname, // Current project directory absolute path.
projectPath: 'wp-content/plugins/eightshift-forms', // Project path relative to project root.
},
};
```

0 comments on commit e88e2a3

Please sign in to comment.