gatsby-plugin-typescript
Advanced tools
Comparing version 1.0.0-alpha12-alpha.81355cc0 to 1.0.0-alpha12-alpha.8370739a
@@ -34,7 +34,7 @@ "use strict"; | ||
function modifyWebpackConfig(ctx) { | ||
var config = ctx.args.config, | ||
compilerOptions = ctx.pluginOptions.compilerOptions; | ||
function modifyWebpackConfig(_ref, _ref2) { | ||
var config = _ref.config; | ||
var compilerOptions = _ref2.compilerOptions; | ||
// CommonJS to keep Webpack happy. | ||
var copts = (0, _assign2.default)(compilerDefaults, compilerOptions, { | ||
@@ -54,9 +54,8 @@ module: "commonjs" | ||
function preprocessSource(ctx) { | ||
var _ctx$args = ctx.args, | ||
contents = _ctx$args.contents, | ||
filename = _ctx$args.filename, | ||
compilerOptions = ctx.pluginOptions.compilerOptions; | ||
function preprocessSource(_ref3, _ref4) { | ||
var contents = _ref3.contents, | ||
filename = _ref3.filename; | ||
var compilerOptions = _ref4.compilerOptions; | ||
// overwrite defaults with custom compiler options | ||
var copts = (0, _assign2.default)(compilerDefaults, compilerOptions, { | ||
@@ -63,0 +62,0 @@ target: "esnext", |
{ | ||
"name": "gatsby-plugin-typescript", | ||
"version": "1.0.0-alpha12-alpha.81355cc0", | ||
"version": "1.0.0-alpha12-alpha.8370739a", | ||
"description": "Adds TypeScript support for Gatsby layouts and pages.", | ||
@@ -5,0 +5,0 @@ "author": "Kyle Mathews <mathews.kyle@gmail.com>", |
@@ -5,3 +5,3 @@ # gatsby-plugin-typescript | ||
## Install | ||
`yarn add gatsby-plugin-typescript` | ||
`yarn add gatsby-plugin-typescript ts-loader typescript` | ||
@@ -8,0 +8,0 @@ ## How to use |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3838
5
51