Skip to content

Coffeescript standart imports in component #96

Closed
@MartinBucko

Description

@MartinBucko

Hi,
just playing with package akryum:vue-coffee' and i try to update coffee-script package to never version where is supported imports but no luck.

From:

`import { Meteor } from 'meteor/meteor'`

To standard:

import { Meteor } from 'meteor/meteor'

My changes on akryum:vue-coffee (everything thing work fine - but no standard imports):

Package.describe({
  name: 'akryum:vue-coffee',
  version: '0.0.3',
  summary: 'Add coffee support for vue components',
  git: 'https://github.com/Akryum/meteor-vue-component',
  documentation: 'README.md'
});

Package.registerBuildPlugin({
  name: "vue-component-coffee",
  use: [
    'ecmascript@0.4.4'
  ],
  sources: [
    'vue-coffee.js'
  ],
  npmDependencies: {
    'coffee-script': '1.12.1',
    'source-map': '0.5.6'
  }
});

Package.onUse(function(api) {
  api.use('isobuild:compiler-plugin@1.0.0');
});

I'm not shore, but think this package need to use babel compiler like in meteor/coffeescript.
I will like to commit this package changes..
Thanks! :)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions