Skip to content

summary.js import statements causing error #36

Description

@kingychiu

The import statements in the summary.js causing error:

import _ from 'lodash'
import Tokenizer from 'sbd'
import request from 'request'
(function (exports, require, module, __filename, __dirname) { import _ from 'lodash'
                                                              ^^^^^^
SyntaxError: Unexpected token import

node version: v6.11.1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions