power-assert-js/babel-plugin-empower-assert

Don't support import syntax which will be converted to 'require()' by babel?

tetsuharuohzeki opened this issue · 3 comments

Summary

Could this plugin support the case to use import syntax to load assert?

import * as assert from 'assert'; 

assert.ok(true);

env

  • Node v5.10
  • babel-plugin-empower-assert 1.2.0
twada commented

@saneyuki Thanks!
Fair request. I'll implement it.

@twada Thank you for your rapid response!