No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. Tags
    3. webpack
    Log in to post
    • L

      Split webpack chunks in 250kb files
      Help • webpack • • lazaroofarrill

      4
      0
      Votes
      4
      Posts
      435
      Views

      dobbel

      @lazaroofarrill

      Yuu could post a github issue/feature request about this.

    • tmladek

      How to use "Speed Measure Plugin" - or other build profiling?
      Help • build webpack • • tmladek

      1
      0
      Votes
      1
      Posts
      324
      Views

      No one has replied

    • Q

      Electron with MSSQL or Tedious SQL
      Framework • mssql quasar quasar electron tedious webpack • • QuaSam

      9
      0
      Votes
      9
      Posts
      845
      Views

      Q

      Quasar Upgrade MSSQL fails FIXED (Inegalantly): Working on a new program, I had MSSQL working but I when upgraded Quasar, the problem re-appeared, and it caused an older program that was working to no longer compile with the same errors. I’ve upgraded NPM, VS Build tools, reinstalled MSSQL, tedious and msnodesqlv8 modules; ran electron-rebuild. Two modes of failure, below. Non-Quasar Electron program using MSSQL still works, so problem is definitely introduced by Quasar. Sam
      Two methods, each with different error message:
      import sql from ‘mssql’ <using default driver tedious> gets webpack_require is not a function
      import sql from ‘mssql/msnodesqlv8’ gets "specified module could not be found: node_modules\msnodesquv8\build\Release/ec1\0188…node
      Ahah (Ugh): By trial and error I got it to work with the following Webpack theatrics, including null-loader. If anyone can figure out what is the right way to do this I would like to know and hopefully others can use Quasar Electron MSSQL (and Azure SQL): <7/2: I ended up using msnodesqlv8 rather than default tedious, as for some reason I could not get the connection to complete. Other settings that may or may not matter: bundler: ‘builder’ and target: ‘electron-renderer’ )
      // https://quasar.dev/quasar-cli/handling-webpack
      extendWebpack (cfg) {
      cfg.module.rules.push({
      enforce: ‘pre’,
      test: /.(js|vue)$/,
      loader: ‘eslint-loader’,
      exclude: /node_modules/
      })
      cfg.externals = {
      mssql: “require(‘mssql’)”,
      tedious: “require(‘tedious’)”,
      msnodesqlv8: “require(‘msnodesqlv8’)” // added 7/2
      }
      cfg.module.rules.push({
      test: /.node$/,
      use: ‘node-loader’
      })
      cfg.target = ‘electron-renderer’
      // 7/1/20 trying this see
      cfg.module.rules.push({
      test: /.mssql$/,
      loader: ‘null-loader’
      })
      cfg.module.rules.push({
      test: /(tedious)/,
      loader: ‘null-loader’
      })
      }

    • A

      Quasar v1 tree shaking using webpack
      Framework • tree shaking webpack • • Adriel

      3
      0
      Votes
      3
      Posts
      743
      Views

      A

      Thank you rstoenescu.
      Yes that is indeed my question. I am in fact using laravel-mix. I would be interested in knowing if I can use tree shaking after installing quasar with a package manager.
      That option isn’t in the documentation so I was just wondering.

    • tmladek

      TypeScript migration woes (webpack can't resolve plugins, store, etc in entry.js)
      Help • typescript webpack • • tmladek

      2
      0
      Votes
      2
      Posts
      987
      Views

      No one has replied

    • J

      Difference in js file output in Cordova build
      CLI • build cordova webpack • • jasonl

      4
      0
      Votes
      4
      Posts
      1032
      Views

      J

      Updating Quasar to 0.17.6 solved the issue.

    • D

      HTTPS Dev server with Cordova
      Help • cordova dev https server webpack • • driedler

      8
      0
      Votes
      8
      Posts
      1633
      Views

      dobbel

      has this been fixed in V1 beta too? In beta4 you still have hack quasar.conf.js to get https working for Cordova .

    • S

      Native dependencies in electron wrapper
      Starter Kits • electron native target webpack • • steffanhalv

      13
      0
      Votes
      13
      Posts
      5057
      Views

      rstoenescu

      @steffanhalv

      Do NOT change the webpack target prop. It is already configured in the right way. If you need to change it you’re doing something wrong. Please also note there’s one webpack config for the renderer process and ANOTHER separate one for the main process. Which one are you trying to change? In 99% of the cases, you don’t need to change it anyway.

      I see that you are importing the http package, which is a node specific library, which is NOT isomorphic (doesn’t also works being run in a browser). You could use it in the main process though, but not in the renderer.

      Like I mentioned in a previous post, node-loader and it’s webpack rule for renderer process (it’s currently specified only for the main process) will be available by default in Quasar CLI v0.16.2.

    • a47ae

      [How To] Import Stylus variables depending on the current theme
      Show & Tell • styling stylus webpack • • a47ae

      1
      2
      Votes
      1
      Posts
      1468
      Views

      No one has replied

    • J

      Add Rupture, Jeet and stylus sheet globally
      Help • autoprefixer postcss stylus webpack • • Julien76

      7
      0
      Votes
      7
      Posts
      3635
      Views

      J

      Hi,
      Sorry for late reply, I had to step aside this issue for a few days.
      What you posted back on Stackoverflow solved my issue.
      Many thanks for that.

      stackoverflow