dockerfiles
dockerfiles copied to clipboard
Can't use ES6 import file
Hey, I have an error when I try to use import test from './test' in my project. It works with require('test.js') but my project is in ES6 so I would like to use it.
Error : Cannot use import outside a module.
How can I do it ? Thanks