jDrupal icon indicating copy to clipboard operation
jDrupal copied to clipboard

Can you make jDrupal worked with NodeJS and Webpack?

Open VienDinhCom opened this issue 8 years ago • 4 comments

Hi there,

I saw that this is an awesome drupal module. However, it would be better if Drupal could work with NodeJS and Webpack.

Can you do that? Thanks :smile:

VienDinhCom avatar Oct 02 '17 07:10 VienDinhCom

@Maxvien Do you mean make it available as an npm package?

signalpoint avatar Oct 02 '17 13:10 signalpoint

Yup, I mean that :+1:

I tried to do this, but it didn't work.

import * as jdrupal from 'jdrupal/jdrupal';

VienDinhCom avatar Oct 03 '17 09:10 VienDinhCom

@Maxvien Hmmm, it looks like I published it for npm long ago: https://www.npmjs.com/package/jdrupal

Their version is pointing to easystreet3/jDrupal, which on github's side now redirects to signalpoint/jDrupal.

Are you able to use something like signalpoint/jDrupal to get around it? Any ideas?

signalpoint avatar Oct 03 '17 18:10 signalpoint

Okay, let me check it. Thanks very much :smile:

VienDinhCom avatar Oct 09 '17 05:10 VienDinhCom