Use requirejs with the latest version of ionic 2

In prior version of ionic 2, I was able to use require ( as the tsconfig.json had, module: “commonjs”

    "compilerOptions": {
    "target": "es5",
    "module": "commonjs",

but with the upgrades to latest version, it has changed to, "module": "es2015" and now i cannot use require.
new tsconfig.json,

  "compilerOptions": {
    "allowSyntheticDefaultImports": true,
    "declaration": true,
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "lib": [
    "module": "es2015",
    "moduleResolution": "node",
    "target": "es5"
  "exclude": [
  "compileOnSave": false,
  "atom": {
    "rewriteTsconfig": false

i need to use some thirdparty library and in order for that to use i need require.
Pls help

Did you get require to work?
If yes, please provide some sample code with folder structure.
Thanks in advance