Skip to content

Commit 4b92992

Browse files
committed
publish 1.2.9
1 parent 4a1f76f commit 4b92992

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@idrinth/react-file-based-routes",
3-
"version": "1.2.8",
3+
"version": "1.2.9",
44
"repository": "https://github.com/idrinth/react-file-based-routes",
55
"description": "A simple file based routing library, that does not force itself on you.",
66
"license": "MIT",

src/generate-folders.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ export default (cwd: string, configuration: Configuration) => {
5757
const s = d.createElement('script');
5858
const a = (t, v) => s.setAttribute(t, v);
5959
a('type', 'application/javascript');
60-
a('src', '/${configuration.fileFinder.distJSRoot}/irfbr-${name}.js');
60+
a('src', '/assets/irfbr-${name}.js');
6161
d.getElementsByTagName('header')[0].appendChild(s);
62-
} , ${ configuration.fileBuilder.preloadStartDelay });`);
62+
}, ${ configuration.fileBuilder.preloadStartDelay });`);
6363
const tag = `<script type="text/javascript">${ loader }</script>`;
6464
if (jsFiles.length > 0 && cssFiles.length > 0) {
6565
const script = `(() => {

0 commit comments

Comments
 (0)