mirror of
https://github.com/abhijithvijayan/web-extension-starter.git
synced 2026-03-20 01:37:46 +01:00
Use babel for transpile
This commit is contained in:
parent
ccf18d2ba2
commit
299b25a9c4
@ -1,11 +1,12 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"module": "es6",
|
"module": "esnext",
|
||||||
"noImplicitAny": true,
|
"noImplicitAny": true,
|
||||||
"removeComments": true,
|
"removeComments": true,
|
||||||
"preserveConstEnums": true,
|
"preserveConstEnums": true,
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"strict": true
|
"strict": true,
|
||||||
|
"target": "esnext"
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
"src/**/*.{ts,tsx}"
|
"src/**/*.{ts,tsx}"
|
||||||
|
|||||||
@ -81,7 +81,7 @@ module.exports = {
|
|||||||
{
|
{
|
||||||
test: /.tsx?$/,
|
test: /.tsx?$/,
|
||||||
include: [path.resolve(__dirname, "scripts")],
|
include: [path.resolve(__dirname, "scripts")],
|
||||||
use: ["ts-loader"]
|
use: ["babel-loader", "ts-loader"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
test: /\.scss$/,
|
test: /\.scss$/,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user