diff --git a/index.html b/index.html new file mode 100644 index 000000000..a45ffbd32 --- /dev/null +++ b/index.html @@ -0,0 +1,15 @@ + + + + + + + + Open Forms SDK - dev + + + +
+ + + diff --git a/package.json b/package.json index cdba8c6f5..9389791aa 100644 --- a/package.json +++ b/package.json @@ -67,7 +67,7 @@ "react-dom": "^18.0.0" }, "scripts": { - "start": "npm run build:design-tokens && node scripts/start.js", + "start": "npm run build:design-tokens && vite", "build": "node scripts/build.js && npm run build:esm", "build:esm": "rimraf dist/esm && NODE_ENV=production babel --no-babelrc --config-file ./.babelrc.esm-build --ignore 'src/**/*.spec.js','src/**/fixtures/**','src/setupTests.js','src/reportWebVitals.js' src --out-dir dist/esm", "build:vite": "BUILD_TARGET=umd vite build && BUILD_TARGET=esm vite build", diff --git a/public/index.html b/public/index.html deleted file mode 100644 index c5b679c7a..000000000 --- a/public/index.html +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - Open Forms SDK - - - -
- - - diff --git a/vite.config.mts b/vite.config.mts index 409a53f90..19bd9e828 100644 --- a/vite.config.mts +++ b/vite.config.mts @@ -69,6 +69,9 @@ const umdOutput = { export default defineConfig({ base: './', publicDir: false, + server: { + port: 3000, + }, plugins: [ // BIG DISCLAIMER - Vite only processes files with the .jsx or .tsx extension with // babel, and changing this configuration is... cumbersome and comes with a performance