Skip to content
This repository has been archived by the owner on Mar 17, 2024. It is now read-only.

Commit

Permalink
build v0.8.4
Browse files Browse the repository at this point in the history
feat: # as root path alias
  • Loading branch information
Arenukvern committed Mar 2, 2021
1 parent d6e66e9 commit bdc1de2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions example/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { HeroesModel } from '#/models/HeroesModel'
import { ScaffoldApp } from '#/pages/ScaffoldApp'
import { createApp } from 'vue'
import vueGridLayout from 'vue-grid-layout'
import { MultiProvider, Navigation, NavigationController } from '../../lib'
import '../../lib/index.scss'
import { HeroesModel } from './models/HeroesModel'
import { ScaffoldApp } from './pages/ScaffoldApp'

const app = MultiProvider.build({
models: [NavigationController, HeroesModel],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@xsoulspace/vuefer",
"description": "vuefer just a way to write Vue3 styled like Flutter with Tailwind CSS",
"version": "0.8.3",
"version": "0.8.4",
"private": false,
"author": {
"name": "Anton Malofeev",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"noUnusedParameters": true,
"experimentalDecorators": true,
"paths": {
"@/*": ["example/src/*"]
"#*": ["example/src/*"]
},
"outDir": "dist",
"typeRoots": ["./lib"],
Expand Down
10 changes: 5 additions & 5 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import { defineConfig } from 'vite'
export default defineConfig({
resolve: {
alias: {
'@/': path.join(__dirname, 'example/'),
'#': path.resolve(__dirname, 'example/src'),
},
},
root: './example',
Expand All @@ -45,15 +45,15 @@ export default defineConfig({
rollupOptions: {
// make sure to externalize deps that shouldn't be bundled
// into your library
// external: ['vue'],
external: ['vue'],
plugins: [],
output: {
dir: './dist',
// // Provide global variables to use in the UMD build
// // for externalized deps
// globals: {
// vue: 'Vue',
// },
globals: {
vue: 'Vue',
},
},
},
},
Expand Down

0 comments on commit bdc1de2

Please sign in to comment.