Skip to content

Commit

Permalink
feat: build and export
Browse files Browse the repository at this point in the history
  • Loading branch information
akdasa committed Dec 2, 2022
1 parent ac03037 commit cb663a4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@akdasa-studios/framework",
"version": "0.1.10",
"version": "0.1.11",
"description": "Framework to build every app",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"target": "ES6",
// "strict": true,
"moduleResolution": "node",
"importHelpers": true,
"importHelpers": false,
// "declaration": true,
"sourceMap": true,
"outDir": "./dist",
Expand Down
11 changes: 9 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ module.exports = {
path: path.resolve(__dirname, './dist'),
filename: '[name].js',
library: {
name: 'Framework',
type: 'commonjs',
},
},
Expand All @@ -24,5 +23,13 @@ module.exports = {
loader: 'ts-loader'
}
]
}
},
// externals: {
// uuid: {
// commonjs: 'uuid',
// commonjs2: 'uuid',
// amd: 'uuid',
// root: 'uuid',
// },
// },
}

0 comments on commit cb663a4

Please sign in to comment.