Rostislav Wolny
e7480abd0e
Fix deprecation warning about hashes in JS production build
...
[MAILPOET-3214]
2021-09-22 11:56:49 +02:00
Rostislav Wolny
cc796c24ba
Allow overriding global Backbone
...
[MAILPOET-3214]
2021-09-22 11:56:49 +02:00
Rostislav Wolny
5788e0fbe2
Fix file naming in manifest.json
...
[MAILPOET-3214]
2021-09-22 11:56:49 +02:00
Rostislav Wolny
83ed5d9364
Add process polyfill for browsers
...
This was previously added by webpack4. It is needed in the form editor.
Solves error Uncaught ReferenceError: process is not defined
[MAILPOET-3214]
2021-09-22 11:56:49 +02:00
Rostislav Wolny
952e18c25b
Use default cache groups chunks
...
[MAILPOET-3214]
2021-09-22 11:56:49 +02:00
Rostislav Wolny
84ee3f9b0f
Fix handlebars warning in newsletter test build
...
[MAILPOET-3214]
2021-09-22 11:56:49 +02:00
Rostislav Wolny
715f32f5f2
Update configuration for expose, import and export loaders
...
[MAILPOET-3214]
2021-09-22 11:56:49 +02:00
Rostislav Wolny
8cdebc39d0
Remove unnecessary jsonpFunction from webpack config
...
This is done automatically on v5
See https://webpack.js.org/blog/2020-10-10-webpack-5-release/#automatic-unique-naming
[MAILPOET-3214]
2021-09-22 11:56:49 +02:00
Rostislav Wolny
bb0fd44d95
Add fallback dummy nodejs path module
...
The path is required in css module which we use for parsing
custom css string in the form editor.
We don't use functionality which is dependent on nodejs path module
so we can use "dummy" module. Alternatively we could install a polyfill for brower
for the path module but it would increase a package size with functions we don't use.
[MAILPOET-3214]
2021-09-22 11:56:49 +02:00
Rostislav Wolny
010bc3b8d8
Replace node polyfills configuration with dummy fallback
...
They removed default polyfills but some dependecies require those
so this replaces those modules.
See https://webpack.js.org/migrate/5/#clean-up-configuration
[MAILPOET-3214]
2021-09-22 11:56:49 +02:00
Rostislav Wolny
48f4c6ab64
Fix import of WebpackManifestPlugin
...
[MAILPOET-3214]
2021-09-22 11:56:49 +02:00
Rostislav Wolny
422245e3e6
Merge settings and form_editor webpack configs into admin config
...
Form editor and settings used to have a separate configs because we
they use lodash and it conflicted with underscore in newsletter edtior.
We had recently fixed that conflict and now we can add them to admin.
This also resolves an issue with multiple loading of @emotion/react
[MAILPOET-3654]
2021-08-30 12:10:55 +02:00
Rostislav Wolny
2b3594ca5a
Use webpack bail option only for production build
...
This was causing js watch to exit on errors
[MAILPOET-3654]
2021-08-30 12:10:55 +02:00
Rostislav Wolny
ea695ad5d1
Update webpack cli
...
[MAILPOET-3658]
2021-07-06 13:29:00 +02:00
Rostislav Wolny
ea5bc1ab2c
Replace webpack cleanup plugin with simple deletion
...
The cleanup plugin was not working properly as it is not designed for multi config environments.
It deleted tests assets after they were built.
[MAILPOET-3673]
2021-07-02 07:28:41 +02:00
Pavel Dohnal
65255ae867
Fix lodash/underscore overriding in the newsletter editor
...
[MAILPOET-3201]
2020-11-17 14:16:14 +01:00
Ján Mikláš
436268a481
Fix missing resolve extensions for tests webpack
...
[MAILPOET-3257]
2020-11-11 14:58:41 +01:00
Pavel Dohnal
3128b24070
Remove old files
...
[MAILPOET-2791]
2020-10-22 10:00:23 +02:00
Rostislav Wolny
cbc4820c6a
Expose Tag,Button common components for premium
...
[PREMIUM-145]
2020-09-03 15:04:11 +02:00
Pavel Dohnal
0724cfca0f
Update webpack packages
...
[MAILPOET-2953]
2020-06-08 13:27:10 +02:00
Rostislav Wolny
a7cea43aac
Refactor form preview specific FE functionality to extra module
...
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Pavel Dohnal
e5639d1adb
Remove SPF notice
...
[MAILPOET-2867]
2020-04-27 14:25:58 +02:00
Amine Ben hammou
33ccb84744
Create a separate bundle for settings
...
[MAILPOET-2676]
2020-03-16 08:03:26 +01:00
Amine Ben hammou
33948892fa
Add possibility to omit extensions
...
[MAILPOET-2658]
2020-03-02 20:55:24 +00:00
Amine Ben hammou
cbe2fc64bb
Install and configure Typescript
...
[MAILPOET-2658]
2020-03-02 20:55:24 +00:00
Pavel Dohnal
261624c2bb
Create basic block
...
[MAILPOET-1798]
2020-02-17 19:20:36 +00:00
Rostislav Wolny
353a16fcb5
Remove unnecessary expose of html2canvas
...
[MAILPOET-2683]
2020-02-05 18:33:42 +00:00
Pavel Dohnal
fe84b9f9fb
Remove the old form editor
...
[MAILPOET-2625]
2020-01-30 18:29:02 +00:00
Rostislav Wolny
6015a1370d
Refactor simple JS to be main JS tests
...
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
Rostislav Wolny
857d0c79ab
Rename index.jsx files to match naming pattern
...
[MAILPOET-2450]
2019-11-06 16:54:40 +00:00
Rostislav Wolny
ac0fd14c7c
Add new form editor hello world
...
[SHOP-2450]
2019-11-06 16:54:40 +00:00
Rostislav Wolny
d51b61ec17
Mark current form editor code as legacy
...
[MAILPOET-2450]
2019-11-06 16:54:40 +00:00
Jan Jakeš
8512683097
Remove no longer needed exports for Premium plugin
...
[MAILPOET-2382]
2019-10-09 13:36:24 +01:00
Jan Jakeš
91cbe84bb9
Remove no longer needed exports for Premium plugin
...
[MAILPOET-2382]
2019-10-08 14:22:55 +01:00
Pavel Dohnal
8a5cd7c353
Remove intro
...
[MAILPOET-2402]
2019-10-01 14:17:37 +01:00
wxa
a97376b443
Add SPF record notice [MAILPOET-2295]
2019-09-12 14:09:27 +02:00
Ján Mikláš
f210fec8a7
Fix paths to new default skin and theme
...
[MAILPOET-1799]
2019-08-29 11:13:15 -04:00
Jan Jakeš
b421708e5e
Prefix TinyMCE to avoid conflicts with other plugins
2019-08-29 11:13:15 -04:00
Jan Jakeš
c9ff9be7ec
Use TinyMCE as a module to avoid conflicts when used globally
2019-08-29 11:13:15 -04:00
Amine Ben hammou
951abd7645
Fix webpack
2019-06-25 11:42:22 -04:00
Amine Ben hammou
776c4dcaa2
Rename mixins.jsx as utils.jsx
2019-06-25 11:42:22 -04:00
Ján Mikláš
7492b20bc4
Create skeleton for new History region in editor
...
[MAILPOET-1976]
2019-06-20 10:22:58 -04:00
Pavel Dohnal
b1448a7025
Expose help tooltip
...
[PREMIUM-115]
2019-05-28 09:01:37 -04:00
wxa
5d98e0a16b
Use the official WP JS hooks library [MAILPOET-2081]
2019-05-23 11:32:43 -04:00
Ján Mikláš
f8cc1e6f20
New free plan announcement
...
[MAILPOET-2051]
2019-05-20 14:46:12 -04:00
Ján Mikláš
e41bc4e6da
Add JS test for products widget
...
[MAILPOET-1843]
2019-04-16 16:40:45 +02:00
Pavel Dohnal
56680816c0
Update test to a new component
...
[MAILPOET-1710]
2019-03-06 07:48:33 -05:00
Jan Jakeš
b0c3972ab2
Use Babel also for .js
...
[MAILPOET-1829]
2019-02-21 11:52:39 -05:00
Jan Jakeš
1e1ed6f251
Replace amd-inject-loader with inject-loader & use Babel trick for ES6 support
...
[MAILPOET-1829]
2019-02-21 11:52:39 -05:00
wxa
b6e89827e2
Fix webpack production build on WSL
2019-02-05 15:50:05 +03:00