🚀 Big News:Socket Has Acquired Secure Annex.Learn More
Socket
Book a DemoSign in
Socket

@zeit/next-typescript

Package Overview
Dependencies
Maintainers
18
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zeit/next-typescript - npm Package Compare versions

Comparing version
0.0.11
to
0.1.0
+6
-3
index.js

@@ -29,5 +29,8 @@ module.exports = (nextConfig = {}) => {

config.module.rules.push({
test: /\.(ts|tsx)(\?[^?]*)?$/,
test: /\.(ts|tsx)$/,
loader: 'hot-self-accept-loader',
include: [path.join(dir, 'pages')]
include: [path.join(dir, 'pages')],
options: {
extensions: /\.(ts|tsx)$/
}
})

@@ -37,3 +40,3 @@ }

config.module.rules.push({
test: /\.+(ts|tsx)$/,
test: /\.(ts|tsx)$/,
include: [dir],

@@ -40,0 +43,0 @@ exclude: /node_modules/,

{
"name": "@zeit/next-typescript",
"version": "0.0.11",
"version": "0.1.0",
"main": "index.js",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -48,8 +48,4 @@ # Next.js + Typescript

"baseUrl": ".",
"typeRoots": [
"./node_modules/@types"
],
"lib": [
"dom",
"es2015",
"es2016"

@@ -83,3 +79,3 @@ ]

const withTypescript = require("@zeit/next-typescript")
var ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin');
const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin');

@@ -86,0 +82,0 @@ module.exports = withTypescript({