on-internet
← Community

SyntaxError: Unexpected token export

Stack Overflow ·

I'm working on a npm package called foobar, locally, to allow me to make changes or modifications in real time without having to publish/unpublish to improve development time and sanity. In projectTest, I have linked foobar by using the command npm link foobar. If you don't know, the npm link flag creates a symlink to your globals (you can read more about it here: https://docs.npmjs.com/cli/link) The projectTest happens to be a Reactjs project, written in ES2015, Webpack, babel, etc; and where I do import { x } from 'package', without any issues, etc. As mentioned, the package foobar exists in

Comments

Sign in or sign up to comment and upvote.

No comments yet.