Josh
a3690b16a3
feat: add vite ( #18697 )
...
* feat: add vite
* fix: CheckPagePermissions was buggy
* fix: vite CJS warning & double print of experimental message
* chore: move to use plugins-workspace folder
* chore: update deps
---------
Co-authored-by: Paul <45032974+hide-me@users.noreply.github.com>
2024-01-11 14:14:25 +00:00
Josh
116339ad86
refactor: admin build pipeline ( #18539 )
...
* chore(admin): refactor admin develop/build pipeline
chore: remove `webpackChunkName` comments
chore: reuse admin tsconfig where possible
chore: add .strapi to gitignore
chore(admin): pack-up
feat(admin): inject commands into strapi from admin for building
feat(admin): move watch command to admin
chore: keep backward compat API available
Update packages/core/admin/_internal/cli/index.ts
docs(admin): document the build & develop process and pipeline
test(admin): fix StrapiApp tests
chore: fix build
* Update skipped_tests.yml
* test(e2e): fix e2e setup
feat: add dependency installation
fix: mjs webpack resolution
* chore: fix server exports
* fix: typescript project type generation
* fix: development watch mode
* fix: connect to hot middleware – anywhere
* Update packages/core/admin/_internal/node/core/monorepo.ts
Co-authored-by: Marc Roig <marc12info@gmail.com>
* fix(admin): theme toggle type export
* chore: fixes
* chore: pr amends
Co-Authored-By: Ben Irvin <ben@innerdvations.com>
---------
Co-authored-by: Marc Roig <marc12info@gmail.com>
Co-authored-by: Ben Irvin <ben@innerdvations.com>
2023-10-30 11:36:16 +00:00
Josh
7089eb7a3e
fix: dont use relative paths, use webpack alias instead ( #17733 )
2023-08-22 09:37:43 +01:00
Gustav Hansen
dd3ae14b0b
Chore: Allow source-maps to be enforced through an env variable
2023-07-26 16:54:44 +02:00
Gustav Hansen
6181f2b4b7
Chore: Drop babel ee_else_ce plugin and babel-loader
2023-07-11 10:19:23 +02:00
Alexandre Bodin
cf49ddbbfc
Prettier and backend fix
2022-08-11 10:20:49 +02:00
Convly
48ab30ccee
First pass on Alexandre's review
2022-06-07 16:07:39 +02:00
Convly
431ccbe55c
Fix isTypeScriptProject -> isUsingTypeScript
2022-04-14 14:55:57 +02:00
Convly
1a82a62b9f
Merge remote-tracking branch 'origin/typescript/tsconfigs' into ts/split-ts-config
2022-04-14 14:28:59 +02:00
soupette
84bd88a230
Enable plugin development in JS project.
...
Added loader for ts.
Created default tsconfig file
Signed-off-by: soupette <cyril@strapi.io>
2022-04-14 10:59:42 +02:00
Convly
7654dbd961
Update plugin build & tsconfigs
2022-04-12 16:57:00 +02:00
soupette
f5ba9af535
Speed up webpack config by using esbuild-loader
...
Signed-off-by: soupette <cyril@strapi.io>
2022-04-04 12:16:31 +02:00
soupette
8203f81e5a
Fix dev mode
...
Signed-off-by: soupette <cyril@strapi.io>
2022-04-04 12:10:00 +02:00
soupette
57549a3a0d
Fix PR feedback
...
Signed-off-by: soupette <cyril@strapi.io>
2022-04-04 11:36:54 +02:00
soupette
fdc6e77d98
Fix watch-admin command
...
Signed-off-by: soupette <cyril@strapi.io>
2022-04-04 11:36:53 +02:00
soupette
3cbc9c24df
Fix build command
...
Signed-off-by: soupette <cyril@strapi.io>
2022-04-04 11:36:52 +02:00
soupette
e783e0770a
Fix develop mode without TS and refacto strapi-admin file
...
Signed-off-by: soupette <cyril@strapi.io>
2022-04-04 11:36:52 +02:00
soupette
52231a3eba
Prevent default export in order to provide typings
...
Signed-off-by: soupette <cyril@strapi.io>
2022-04-04 11:26:35 +02:00
soupette
5a5433821a
Add tsx customisation file
...
Signed-off-by: soupette <cyril@strapi.io>
2022-04-04 11:26:34 +02:00
soupette
d1d0214be7
Fix conflicts
...
Signed-off-by: soupette <cyril@strapi.io>
2022-03-02 10:08:55 +01:00
Michele Mondelli
c2e7b8a876
fix: merge devServer custom configuration with default #12667
2022-02-25 23:20:08 +01:00
yasudacloud
8e3fee5cdc
Fixed hot reload in admin
2022-02-05 20:41:55 +09:00
soupette
7bf9f819e0
Fixes #11936
...
Signed-off-by: soupette <cyril@strapi.io>
2022-01-17 12:06:15 +01:00
soupette
1763c66e23
Add comments
...
Signed-off-by: soupette <cyril@strapi.io>
2022-01-11 17:27:53 +01:00
soupette
d7fffe9742
Fixes #12163
...
Signed-off-by: soupette <cyril@strapi.io>
2022-01-11 09:44:19 +01:00
soupette
1db862161b
Use script to build the admin when developing
...
Signed-off-by: soupette <cyril@strapi.io>
2021-12-20 15:51:19 +01:00
soupette
584347e4bb
Use default build
...
Signed-off-by: soupette <cyril@strapi.io>
2021-12-20 14:56:06 +01:00
Alexandre Bodin
21728d60ac
Cleanup
2021-11-30 09:03:52 +01:00
Alexandre Bodin
6b7f1e0c4e
Make things async
2021-11-29 16:33:36 +01:00
Alexandre Bodin
b82f0a3d01
Build admin only when necessary and serve it from the admin package
2021-11-29 16:20:47 +01:00
soupette
29a5493c0d
Migrate to webpack-dev-server 4
...
Signed-off-by: soupette <cyril@strapi.io>
2021-11-09 15:55:30 +01:00
mfrachet
988225f6cd
Fix document
2021-10-01 10:00:00 +02:00
mfrachet
1c2a1c8d89
resolve admin / src with path join
2021-10-01 09:47:42 +02:00
mfrachet
2b6296dd17
Attempt to fix plugin loading on v4
2021-09-30 14:21:40 +02:00
soupette
17e5e835b1
Fix dev mode
...
Signed-off-by: soupette <cyril@strapi.io>
2021-09-23 16:39:42 +02:00
Alexandre Bodin
94d6abafaa
Use strapi-admin as reference to load frontend of the plugins
2021-09-23 14:33:19 +02:00
Alexandre Bodin
021ed62d07
Merge branch 'v4/ds-migration' of github.com:strapi/strapi into v4/strapi-admin-js
2021-09-23 12:09:39 +02:00
soupette
4544764186
Fix build
...
Signed-off-by: soupette <cyril@strapi.io>
2021-09-23 11:39:24 +02:00
Alexandre Bodin
f2f485ff17
Add strapi-admin.js
2021-09-23 11:24:15 +02:00
soupette
b06ec444aa
Add kitchensink app
...
Signed-off-by: soupette <cyril@strapi.io>
2021-09-22 12:38:12 +02:00
Alexandre Bodin
388c9a8a35
Fix admin build with node_modules paths
2021-09-09 10:56:57 +02:00
cyril lopez
58263edf20
Merge pull request #10902 from strapi/v4/admin-plugins
...
Use enabled plugins to build admin
2021-09-08 18:18:14 +02:00
Alexandre Bodin
ede58ae5be
Make plugin copy unnecessary
2021-09-08 17:25:24 +02:00
Alexandre Bodin
eb522e73e2
Use enabled plugins to build admin
2021-09-07 17:11:16 +02:00
Alexandre Bodin
c6c4a62d2d
Cleanup layout not needed
2021-09-07 16:03:54 +02:00
soupette
d8209894fa
Fix admin development
...
Signed-off-by: soupette <cyril@strapi.io>
2021-08-20 15:30:54 +02:00
Alexandre Bodin
805e7fdb4b
Merge branch 'master' into releases/v4
2021-08-04 19:24:10 +02:00
Alexandre Bodin
35912b556e
Fix missing file to copy in yarn build
2021-08-04 14:07:35 +02:00
soupette
9c06d8af37
Fix PR feedback
...
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-07-27 10:31:02 +02:00
soupette
a261bd7150
Add extensions
...
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-07-27 09:29:23 +02:00