by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 17:44
    sokra synchronize #11499
  • 17:44

    sokra on snapshot-iterable

    add test case (compare)

  • 08:43
    webpack-bot labeled #11504
  • 08:31
    webpack-bot labeled #11504
  • 08:31
    jamesgeorge007 opened #11504
  • 08:18
    jamesgeorge007 synchronize #10284
  • 08:17
    jamesgeorge007 synchronize #10845
  • Sep 19 18:23
    webpack-bot labeled #11502
  • Sep 19 18:19
    webpack-bot labeled #11502
  • Sep 19 18:19
    dependabot-preview[bot] labeled #11502
  • Sep 19 18:19

    dependabot-preview[bot] on npm_and_yarn

    chore(deps): bump terser-webpac… (compare)

  • Sep 19 18:19
    dependabot-preview[bot] opened #11502
  • Sep 19 17:40
    webpack-bot labeled #11501
  • Sep 19 17:17

    dependabot-preview[bot] on npm_and_yarn

    chore(deps-dev): bump ts-loader… (compare)

  • Sep 19 17:17
    webpack-bot labeled #11501
  • Sep 19 17:17
    dependabot-preview[bot] labeled #11501
  • Sep 19 17:17
    dependabot-preview[bot] opened #11501
  • Sep 19 14:52
    webpack-bot labeled #11497
  • Sep 19 14:52
    webpack-bot unlabeled #11497
  • Sep 19 14:33
    okmttdhr edited #11497
Evilebot Tnawi
@evilebottnawi
please don't spam
webpack-dev-server output all assets what you build
I can't undestand problem
dagtveit
@dagtveit
if i enable writetodisk on webpackdev server and look at that assets in that folder it is not the same content as if i do a normal build. bu ti can see in the log when starting it
Child HtmlWebpackCompiler:
     3 assets
    Entrypoint HtmlWebpackPlugin_0 = __child-HtmlWebpackPlugin_0
    Entrypoint HtmlWebpackPlugin_1 = __child-HtmlWebpackPlugin_1
    Entrypoint HtmlWebpackPlugin_2 = __child-HtmlWebpackPlugin_2
Evilebot Tnawi
@evilebottnawi
What is difference, devserver doesn't change in you configuration
dagtveit
@dagtveit
i am missing the /v2/ folder where there should be another index file
Evilebot Tnawi
@evilebottnawi
debug code
it is easy
dagtveit
@dagtveit
i have no ide how to do that on webpack. but i found something in the log here can this be a problem. do i have to manualy map out the dirrent folders
 [6] multi (webpack)-dev-server/client?http://localhost aurelia-webpack-plugin/runtime/empty-entry aurelia-webpack-plugin/runtime/pal-loader-entry aurelia-bootstrapper 64 bytes {AureliaApp~d0ae3f07} [built]
 [9] multi (webpack)-dev-server/client?http://localhost ./settings/Active/Settings.js 40 bytes {Settings~d0ae3f07} [built]
nvm i was just confused by the formatting i think. so how would you go about debugging this
dagtveit
@dagtveit
is there a way ti make the dev server only server the files already there ? then i can just start build first. then start the server
seems like upgrading some packages fixed it :)
Alex Barker
@kwhat
Is there a way to debug what is going on with webpack? I have a file I am packing that does some include/require for jquery and datatables, and that works... as long as jquery and datatables are in the same file. If I move datatables to its own JS file, everything breaks as now datatables seems to have disappeared despite being in the new file and being loaded. Is there a way to figure out what is going so sideways? http://dpaste.com/0233DYJ
Alex Barker
@kwhat
sigh, what a dumpster fire.
Alex Barker
@kwhat
Another 4 hours wasted on webpack... what an unbelievable fucking heap of shit.
Evilebot Tnawi
@evilebottnawi
Are you sure it is problem in webpack?
Maybe better read how JavaScript work before shitting everything
Myles McNamara
@tripflex
and once you realize how many hours webpack saves you — you will laugh about 4 hours
Evilebot Tnawi
@evilebottnawi
@kwhat if you need help please provide more information, better gist or reproducible test repo, no configurations, no source code, nothing, so nobody can help
Alex Barker
@kwhat
Ive wasted at least 100 hours one its wonky packaging. If I put everythign in 1 giant file it works just fine
Myles McNamara
@tripflex
you really just have to spend the time to go through example webpack configs and the documentation and it will all be much clearer to figure out what is going on
Alex Barker
@kwhat
did you not see my paste?
Myles McNamara
@tripflex
i tried to quickly put together a webpack config file and realized i was shooting myself in the foot by not fully understanding how it works because when i had to debug it was VERY frustrating
Alex Barker
@kwhat
yah its super frustrating, you know what compounds that? the abstractions that sit in front of it and the total lack of decent documentation.
Evilebot Tnawi
@evilebottnawi
@kwhat documentation?
What is documentation help in your case?
Just say and i will do it
Myles McNamara
@tripflex
at the least we need your webpack config or details of it
Alex Barker
@kwhat
Well, for example, I am using laravel mix and I am simply trying to get jquery and datatables in two javascript files because they are quite large... Good fucking luck: https://github.com/JeffreyWay/laravel-mix/blob/master/docs/jquery-ui.md
Myles McNamara
@tripflex
i know your frustrated, but i can promise you more people will be interested in helping — if you’re not hostile about it :P
Evilebot Tnawi
@evilebottnawi
@kwhat do you run this in development or production?
Alex Barker
@kwhat
I am so frustrated with this, that I am literally going to quite doing webdevlopment after 25 years.
Myles McNamara
@tripflex
webpack config
maybe take a break for an hour or two lol
Alex Barker
@kwhat
right now it is development
Myles McNamara
@tripflex
come back with a clear head
Alex Barker
@kwhat
honestly taking a 2 hour break is not going to help me meet deadlines
Evilebot Tnawi
@evilebottnawi
@kwhat what is output?
Alex Barker
@kwhat
it outputs just fine
Myles McNamara
@tripflex
well if you want our help, bring down the hostility
Alex Barker
@kwhat
it cannot find .datatables
Myles McNamara
@tripflex
webpack config webpack config webpack config — that’s almost always the problem IMO
Evilebot Tnawi
@evilebottnawi
@kwhat databases is package on npm?
Alex Barker
@kwhat
yes
did you guys not see my paste?
Evilebot Tnawi
@evilebottnawi
What is error you got?
Peter Müller
@Munter
https://www.npmjs.com/package/datatables.net#npm says to initialize the import result with window and jquery