ts-import-plugin
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -61,3 +61,3 @@ "use strict"; | ||
var style = options.style; | ||
var styleNode = ts.createImportDeclaration(undefined, undefined, undefined, ts.createLiteral(libraryName + "/lib/" + struct.importName + "/style/index." + (style === 'css' ? style : 'less'))); | ||
var styleNode = ts.createImportDeclaration(undefined, undefined, undefined, ts.createLiteral(libraryName + "/lib/" + struct.importName + "/style/index." + (style === 'css' ? style : 'js'))); | ||
astNodes.push(styleNode); | ||
@@ -64,0 +64,0 @@ } |
{ | ||
"name": "ts-import-plugin", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "babel-plugin-import TypeScript version", | ||
@@ -15,3 +15,3 @@ "main": "index.js", | ||
"lint": "tslint src & standard \"test/*.js\" \"./*.js\"", | ||
"prepublish": "npm run build", | ||
"prepare": "npm run build", | ||
"start": "rm -rf dist && NODE_ENV=production webpack --optimize-minimize", | ||
@@ -18,0 +18,0 @@ "test": "mocha", |
@@ -0,1 +1,2 @@ | ||
[![npm version](https://badge.fury.io/js/ts-import-plugin.svg)](https://www.npmjs.com/package/ts-import-plugin) | ||
[![CircleCI](https://circleci.com/gh/Brooooooklyn/ts-import-plugin.svg?style=svg)](https://circleci.com/gh/Brooooooklyn/ts-import-plugin) | ||
@@ -2,0 +3,0 @@ [![Coverage Status](https://coveralls.io/repos/github/Brooooooklyn/ts-import-plugin/badge.svg)](https://coveralls.io/github/Brooooooklyn/ts-import-plugin) |
Sorry, the diff of this file is not supported yet
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
12848
118
1