Skip to content

Commit 8b2345e

Browse files
authored
Merge pull request #540 from statikbe/fixfr
[BUG] Fix broken frontend build
2 parents e2ae251 + d640101 commit 8b2345e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

bitbucket_pipelines_build_frontend.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
# curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
44
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
55
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
6+
cd frontend
67
nvm install && nvm use
78
npm install -g yarn
8-
cd frontend
99
yarn install
1010
yarn prod
1111
yarn ckeditor

frontend/vite-ckeditor.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ export default ({ command }) => ({
77
emptyOutDir: true,
88
assetsDir: '',
99
manifest: false,
10-
outDir: './public/frontend/craft/',
10+
outDir: './../public/frontend/craft/',
1111
rollupOptions: {
1212
input: {
13-
ckeditor: './frontend/css/site/ckeditor.css',
13+
ckeditor: './css/site/ckeditor.css',
1414
},
1515
output: {
1616
assetFileNames: `[name].[ext]`,

0 commit comments

Comments
 (0)