mirror of
https://github.com/abhijithvijayan/web-extension-starter.git
synced 2025-10-07 07:22:37 +02:00
fix: resolve ts, tsx, js in webpack
This commit is contained in:
parent
0ebf1ea07d
commit
b5f1867318
@ -64,6 +64,13 @@ module.exports = {
|
||||
path: path.join(destPath, targetBrowser),
|
||||
},
|
||||
|
||||
resolve: {
|
||||
extensions: ['.ts', '.tsx', '.js', '.json'],
|
||||
alias: {
|
||||
'webextension-polyfill-ts': path.resolve(path.join(__dirname, 'node_modules', 'webextension-polyfill-ts')),
|
||||
},
|
||||
},
|
||||
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user