Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 13 20:36
    greenkeeper[bot] commented #1117
  • Jan 13 20:36

    greenkeeper[bot] on jshint-2.11.0

    chore(package): update jshint t… (compare)

  • Jan 06 22:44
    greenkeeper[bot] commented #1137
  • Jan 06 22:44

    greenkeeper[bot] on terser-4.6.1

    fix(package): update terser to … (compare)

  • Jan 05 03:07
    matthewp closed #507
  • Jan 04 22:05
    frank-dspeed commented #507
  • Jan 02 19:23

    greenkeeper[bot] on terser-4.5.1

    fix(package): update terser to … (compare)

  • Jan 02 14:54
    greenkeeper[bot] commented #1137
  • Jan 02 14:54

    greenkeeper[bot] on terser-4.5.0

    fix(package): update terser to … (compare)

  • Dec 29 2019 00:52
    MarcGodard opened #1515
  • Dec 26 2019 19:11
    matthewp commented #1153
  • Dec 26 2019 17:44
    cherifGsoul review_requested #1153
  • Dec 26 2019 17:44
    cherifGsoul commented #1153
  • Dec 26 2019 17:33
    coveralls commented #1153
  • Dec 26 2019 17:30
    cherifGsoul synchronize #1153
  • Dec 26 2019 17:30

    cherifGsoul on upgrade-node-12

    Update mock-fs version (compare)

  • Dec 26 2019 13:11
    matthewp commented #1153
  • Dec 25 2019 21:19
    coveralls commented #1153
  • Dec 25 2019 21:06
    cherifGsoul opened #1153
  • Dec 25 2019 20:54

    cherifGsoul on upgrade-node-12

    Update Node version (compare)

Adam L Barrett
@BigAB
Thanks!
Julia Allyce
@julia-allyce
i still dont have it working...but its getting there 😂
stealTools.build({
  config: __dirname + "/package.json!npm",
  meta: {
    "moduleName": {
      "translate": function(load) { ...transpile here? }
    },
},{})
Matthew Phillips
@matthewp
that might work
Julia Allyce
@julia-allyce
yea...i have not been able to get it to work, yet.

my translate function looks like this:

function(load){
    var opts = {
        modules: 'amd',
        sourceMap: false
    };
    var src = Babel.transform(load.source, opts);
    return src.code;
  }

and the final file looks right, but I am getting this error:
Uncaught TypeError: Object.defineProperty called on non-object(…)

:/
Chasen Le Hara
@chasenlehara
Hey Julia!
Is the error when the translate function runs or when you run your code?
Julia Allyce
@julia-allyce
when I run my code. Its also coming from an unrelated module, but if I remove the module that I am translating everything runs/builds fine
Julia Allyce
@julia-allyce
ok I figured it out. The module I am translating depends on D3 which needed to be mapped to the minified d3 file I am using.
the npm d3 package doesn't seem to play nice with steal
or I am (most likely) doing things wrong
Can anyone help me out with this?
Thanks!
Julian
@pYr0x
@matthewp before releasing the new steal website
pls have a look into stealjs/stealjs#28
Matthew Phillips
@matthewp
will do, thanks
Julian
@pYr0x
thx :)
Matthew Phillips
@matthewp
Hey everyone, we're looking for feedback on what DoneJS (CanJS, StealJS, whatever) training topics are wanted: http://forums.donejs.com/t/donejs-trainings/506
Mohamed Cherif Bouchelaghem
@cherifGsoul
@matthewp I posted a suggestion bitovi/training#14
Matthew Phillips
@matthewp
@cherifGsoul awesome!
Matthew Phillips
@matthewp
steal-bundler 0.3.1 released (the package that backs bundleAssets)
Gregg Roemhildt
@roemhildtg
anyone know what could cause steal-tools to think that jquery is in "my-project/jquery.js"? I have a project that doesn't require jquery, but one or more dependency does require jquery.
Gira Minus
@gKreator
Do you have an error log?
Gregg Roemhildt
@roemhildtg
Not really an error log, but right after I type "steal-tools" it tries to bundle some files, and the message given is: ERROR: Error loading "jquery" at file:/home/gre/public_html/geocola/jquery.js
Gira Minus
@gKreator
My first go to is delete node_modules folder, then do npm install
then try to rebuild
Gregg Roemhildt
@roemhildtg
Okay.
I'll give that a shot
still happening. Does steal-tools generate an error log somewhere?
Gira Minus
@gKreator
I dont think so
Try putting jquery in your package.json. As far as I remember, from what I heard. Steal-tools does include the dependencies of your dependencies
and to use a jquery plugin or something, you will still need to require jquery
Gregg Roemhildt
@roemhildtg
Yep, thats what I thought. Steal.js has no problem loading the jquery file in a browser, it just seems to happen when I try and build
Gira Minus
@gKreator
Since you are importing something that is using jquery, you need to require jquery.
Yeah, I would try that. You arent losing anything
Gregg Roemhildt
@roemhildtg
Okay
Hm...still not working...same error. There must be something wrong in one of my packages..but I really don't know where to look for the issue.
Gira Minus
@gKreator
could you pastebin me your package.json?
Gregg Roemhildt
@roemhildtg
Gira Minus
@gKreator
steal-tools 1.0.0 is relatively new, I am still using 0.16. I would try that real quick. Other then that, I have no idea. I would make a forum post about this on http://forums.donejs.com/c/stealjs
Gregg Roemhildt
@roemhildtg
@gKreator that works. Must be a bug in the new steal-tools. Thanks for the suggestion!
Gira Minus
@gKreator
You got it working?
Gregg Roemhildt
@roemhildtg
Yup, installing steal-tools@0.16 I was able to build successfully
Gira Minus
@gKreator
Ok, then yes I guess it is a bug in the new steal-tools. Please make an issue report on git about this!
Gregg Roemhildt
@roemhildtg
I just don't know what the issue is. Something to do with jquery in a nested dependency?
Not that its specific to jquery