# |
Nov 18th 2019, 12:52 |
ndm |
No, composer doesn't support that (yet). https://github.com/composer/composer/issues/183 |
# |
Nov 18th 2019, 12:47 |
jotpe |
@ndm So simple autoloading the plugin doesn't work? |
# |
Nov 18th 2019, 12:46 |
ndm |
That only works if your plugin is being required as a composer dependency itself. |
# |
Nov 18th 2019, 12:37 |
jotpe |
Hey guys, if I have a Cake Plugin which needs a external lib, why can't I specify the composer dependency in the plugin's `composer.json`? (i.e. I have a baked plugin which uses `phpoffice/phpspreadsheet` but for some reason I need to specify the dpendency in the project's composer.json) |
# |
Nov 18th 2019, 12:34 |
luizcmarin |
good morning I saw that "file input, Kartik" was added to the cake4 update. Does anyone have any information on how to use it on cake? |
# |
Nov 18th 2019, 11:49 |
admad |
that's most "mall cop"s around the world :slightly_smiling_face: |
# |
Nov 18th 2019, 11:40 |
challgren |
Haha! |
# |
Nov 18th 2019, 11:32 |
dereuromark |
https://twitter.com/rickhanlonii/status/1195738341301522432 |
# |
Nov 18th 2019, 10:32 |
neon1024 |
:thumbsup: |
# |
Nov 18th 2019, 10:11 |
conehead |
@neon1024 Cheers mate. Seems to be running like a charm. And as fast as I was hoping. Even seems to be running with multiple vue projects! |
# |
Nov 18th 2019, 09:39 |
jotpe |
Morning :slightly_smiling_face: |
# |
Nov 18th 2019, 09:31 |
conehead |
I will have a look. Thank you. Haven't worked with webpack yet |
# |
Nov 18th 2019, 09:30 |
neon1024 |
`webpack --mode development --watch --info-verbosity verbose --progress --config webpack.config.dev.js` |
# |
Nov 18th 2019, 09:30 |
neon1024 |
You could still just call webpack directly |
# |
Nov 18th 2019, 09:30 |
neon1024 |
Although as it’s a script in package.json you can call it whatever you want |
# |
Nov 18th 2019, 09:30 |
neon1024 |
Not serve, I just use build, but added watch to my webpack config |
# |
Nov 18th 2019, 09:29 |
conehead |
Okay so you call `npm run serve` and webpack detects changes in your code and compiles the changes to your webroot folder? |
# |
Nov 18th 2019, 09:29 |
neon1024 |
Would be `yarn run build` |
# |
Nov 18th 2019, 09:29 |
neon1024 |
https://github.com/davidyell/cakefest-japan-2019/blob/master/package.json#L31 |
# |
Nov 18th 2019, 09:28 |
neon1024 |
@challgren Someone in my office did, but they said there were some issues with it |
# |
Nov 18th 2019, 09:28 |
neon1024 |
Which is how I call Webpack :slightly_smiling_face: |
# |
Nov 18th 2019, 09:28 |
neon1024 |
As `npm run build` is just running a script in your package.json |
# |
Nov 18th 2019, 09:27 |
neon1024 |
Well, I mean, not without webpack |
# |
Nov 18th 2019, 09:27 |
neon1024 |
Ah ok, I have not tried that approach |
# |
Nov 18th 2019, 09:24 |
conehead |
Was not using Webpack at all. Manually calling npm run build |
# |
Nov 18th 2019, 09:23 |
challgren |
Anyone update to Mac Catalina yet? |
# |
Nov 18th 2019, 09:23 |
javier.villanueva |
ok I use simply <?= $this->Html->image("logo_company.png", ['fullBase' => true]) ?> and works |
# |
Nov 18th 2019, 09:23 |
neon1024 |
Perhaps you have a slow Webpack plugin? |
# |
Nov 18th 2019, 09:21 |
conehead |
That is good to know. I will give it another shot than. Thanks |
# |
Nov 18th 2019, 09:20 |
conehead |
Okay, must be incorrect setup than |
# |
Nov 18th 2019, 09:20 |
neon1024 |
Mine compiles in about 1s |
# |
Nov 18th 2019, 09:20 |
neon1024 |
Thirty seconds? |
# |
Nov 18th 2019, 09:20 |
slackebot |
<neon1024> |
# |
Nov 18th 2019, 09:19 |
neon1024 |
Not sure why that matters |
# |
Nov 18th 2019, 09:19 |
conehead |
Or does it just perform a normal compile? Takes around 30 seconds every time |
# |
Nov 18th 2019, 09:19 |
conehead |
Ah cool. Is this "fast"? |
# |
Nov 18th 2019, 09:18 |
neon1024 |
@conehead Yeah webpack supports the ‘watch’ parameter to auto-compile changes |
# |
Nov 18th 2019, 09:18 |
mrfeedback |
@admad thx! Will do :slightly_smiling_face: |
# |
Nov 18th 2019, 09:18 |
javier.villanueva |
but same problem :( |
# |
Nov 18th 2019, 09:18 |
javier.villanueva |
@admad, ok I use now: ``` WWW_ROOT . 'img' . DS .'logo_company.png' ``` |
# |
Nov 18th 2019, 09:16 |
slackebot |
app. Did you find a good way to solve this problem? Currently I just import vue and use several js files that I import without compiling at all |