Skip to content

Commit

Permalink
chore: change default route to avoid webpack throwing (#1161)
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding authored Feb 23, 2024
1 parent 3e5e730 commit dfd2819
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
8 changes: 0 additions & 8 deletions packages/demo/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "aurelia-slickgrid-demo",
"private": true,
"version": "0.0.0",
"description": "Slickgrid components made available in Aurelia",
"keywords": [
"aurelia",
Expand All @@ -16,13 +15,6 @@
},
"license": "MIT",
"author": "Ghislain B.",
"typesVersions": {
">=4.2": {
"*": [
"dist/types/*"
]
}
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/ghiscoding/aurelia-slickgrid.git"
Expand Down
4 changes: 2 additions & 2 deletions packages/demo/src/my-app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import './styles.scss';

export class MyApp {
static routes = [
{ path: 'example1', component: () => import('./examples/slickgrid/example1'), title: '1- Basic Grid / 2 Grids' },
{ path: ['', 'example1'], component: () => import('./examples/slickgrid/example1'), title: '1- Basic Grid / 2 Grids' },
{ path: 'example2', component: () => import('./examples/slickgrid/example2'), title: '2- Formatters' },
{ path: 'example3', component: () => import('./examples/slickgrid/example3'), title: '3- Editors / Delete' },
{ path: 'example4', component: () => import('./examples/slickgrid/example4'), title: '4- Client Side Sort/Filter' },
Expand Down Expand Up @@ -38,7 +38,7 @@ export class MyApp {
{ path: 'example31', component: () => import('./examples/slickgrid/example31'), title: '31- Backend OData with RxJS' },
{ path: 'example32', component: () => import('./examples/slickgrid/example32'), title: '32- Columns Resize by Content' },
{ path: 'example33', component: () => import('./examples/slickgrid/example33'), title: '33- Regular & Custom Tooltip' },
{ path: ['', 'example34'], component: () => import('./examples/slickgrid/example34'), title: '34- Real-Time Trading Platform' },
{ path: 'example34', component: () => import('./examples/slickgrid/example34'), title: '34- Real-Time Trading Platform' },
{ path: 'example35', component: () => import('./examples/slickgrid/example35'), title: '35- Row Based Editing' },
{ path: 'home', component: () => import('./home-page'), title: 'Home' },
];
Expand Down
1 change: 1 addition & 0 deletions packages/demo/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ module.exports = ({ production, node } = {}, { server } = {}, { analyze } = {})
filename: '[name].[contenthash].bundle.js',
sourceMapFilename: '[name].[contenthash].bundle.js.map',
chunkFilename: '[name].[contenthash].chunk.js',
uniqueName: 'au-slickgrid-demo'
},
resolve: {
extensions: ['.ts', '.js'],
Expand Down

0 comments on commit dfd2819

Please sign in to comment.