Ramdarior

Members
  • Content Count

    2
  • Joined

  • Last visited

Posts posted by Ramdarior


  1. when i importing pixi in my webpack project it throws this error 

    Uncaught TypeError: Cannot read property 'resources' of undefined

    code looks like this 

    const PIXI = require("pixi.js");
    or 
    import { loader } from 'pixi.js'
    
    let resources = PIXI.loader.resources;

    but when i importing to html cdn version everything  works fine