Skip to content

Commit 409459d

Browse files
mattgrilldawehner
authored andcommitted
Optimize @drupal/admin-ui-utilities build process (#579)
* Optimize @drupal/admin-ui-utilities build process * Actually include built files. Fix documentation.
1 parent d806a01 commit 409459d

2 files changed

Lines changed: 11 additions & 14 deletions

File tree

packages/utilities/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# @drupal/admin-ui-components
1+
# @drupal/admin-ui-utilities
22

33
Helper utilities for Admin UI and extension point projects.
44

packages/utilities/webpack.config.js

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -30,25 +30,22 @@ module.exports = {
3030
use: {
3131
loader: 'babel-loader',
3232
options: {
33-
plugins: [
34-
'@babel/plugin-proposal-class-properties',
35-
[
36-
'@babel/plugin-transform-runtime',
37-
{
38-
corejs: false,
39-
helpers: true,
40-
regenerator: true,
41-
useESModules: false,
42-
},
43-
],
44-
],
33+
plugins: ['@babel/plugin-proposal-class-properties'],
4534
presets: [
4635
'@babel/preset-react',
4736
[
4837
'@babel/preset-env',
4938
{
5039
targets: {
51-
browsers: ['last 2 versions'],
40+
browsers: [
41+
'ios >= 10.3',
42+
'chrome >= 55',
43+
'firefox >= 53',
44+
'safari >= 10.3',
45+
'ChromeAndroid >= 70',
46+
'edge >= 15',
47+
'opera >= 42',
48+
],
5249
},
5350
},
5451
],

0 commit comments

Comments
 (0)