Skip to content
This repository was archived by the owner on Jan 16, 2018. It is now read-only.
This repository was archived by the owner on Jan 16, 2018. It is now read-only.

How would you ignore harmony features for the server? #1

@mtscout6

Description

@mtscout6

Is there a configuration option I'm missing?

Here's my output:

Child server:
    Hash: 6d88699fa57e97fc02a2
    Version: webpack 1.4.15
    Time: 21ms
       [0] ./lib/server.js -1 [built] [failed]

    ERROR in ./lib/server.js
    Module parse failed: /Users/smithm/dev/node-blog/lib/server.js Line 13: Unexpected token *
    You may need an appropriate loader to handle this file type.
    |
    | // x-response-time
    | app.use(function *(next){
    |   var start = new Date;
    |   yield next;

I plan to run my server with the --harmony flag.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions