fixup places that aren not scoped [skip ci] (#6646)

This commit is contained in:
Henry Zhu
2017-10-30 16:47:13 -04:00
committed by GitHub
parent a1c7449a92
commit bede73122d
5 changed files with 7 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
import rewritePattern from "regexpu-core";
import * as regex from "babel-helper-regex";
import * as regex from "@babel/helper-regex";
export default function() {
return {

View File

@@ -49,9 +49,9 @@ which will parse and return the AST directly.
## Template Literal Usage
```js
import template from "babel-template";
import generate from "babel-generator";
import * as t from "babel-types";
import template from "@babel/template";
import generate from "@babel/generator";
import * as t from "@babel/types";
const fn = template`
var IMPORT_NAME = require('${"my-module"}');

View File

@@ -1,7 +1,7 @@
import generator from "../../babel-generator";
import template from "../lib";
import { expect } from "chai";
import * as t from "babel-types";
import * as t from "@babel/types";
const comments = "// Sum two numbers\nconst add = (a, b) => a + b;";