chore: trying to ensure packages gets published

This commit is contained in:
Morten Olsen
2023-09-06 12:57:39 +02:00
parent 23ebca5bb4
commit 5de1f0ce1d
6 changed files with 19 additions and 4 deletions

View File

@@ -18,6 +18,7 @@
"files": [
"dist/**/*"
],
"private": false,
"main": "./dist/cjs/index.js",
"name": "bob-the-algorithm",
"scripts": {

View File

@@ -1,5 +1,5 @@
{
"name": "@bob-the-algorithm/config",
"private": true,
"private": false,
"version": "0.0.1"
}

View File

@@ -17,6 +17,7 @@
},
"devDependencies": {
"@mdx-js/rollup": "^2.3.0",
"@types/node": "^20.5.9",
"@types/react": "^18.2.15",
"@types/react-dom": "^18.2.7",
"@typescript-eslint/eslint-plugin": "^6.0.0",

View File

@@ -2,7 +2,10 @@ import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react-swc';
import mdx from '@mdx-js/rollup';
const ASSET_URL = process.env.ASSET_URL || '';
// https://vitejs.dev/config/
export default defineConfig({
base: `${ASSET_URL}/dist/`,
plugins: [mdx(), react()],
});