mirror of https://github.com/laurent22/joplin.git
Generator: Fixed JS and TS files loading order
parent
960863fb75
commit
d0b969372d
|
@ -137,7 +137,7 @@ const pluginConfig = Object.assign({}, baseConfig, {
|
|||
},
|
||||
// JSON files can also be required from scripts so we include this.
|
||||
// https://github.com/joplin/plugin-bibtex/pull/2
|
||||
extensions: ['.tsx', '.ts', '.js', '.json'],
|
||||
extensions: ['.js', '.tsx', '.ts', '.json'],
|
||||
},
|
||||
output: {
|
||||
filename: 'index.js',
|
||||
|
@ -169,7 +169,7 @@ const extraScriptConfig = Object.assign({}, baseConfig, {
|
|||
alias: {
|
||||
api: path.resolve(__dirname, 'api'),
|
||||
},
|
||||
extensions: ['.tsx', '.ts', '.js', '.json'],
|
||||
extensions: ['.js', '.tsx', '.ts', '.json'],
|
||||
},
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue