Skip to content

Commit

Permalink
Updated build.
Browse files Browse the repository at this point in the history
  • Loading branch information
travist committed Mar 15, 2023
1 parent 9dcbdcb commit 91669d0
Show file tree
Hide file tree
Showing 115 changed files with 66 additions and 9,257 deletions.
4 changes: 4 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.3.0-rc.5
### Changed
- Fixing the lib to contain production build of js files.

## 1.3.0-rc.4
### Changed
- "main" in package.json changed to "dist" to support imports into other libraries.
Expand Down
36 changes: 36 additions & 0 deletions config/webpack.lib.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
const path = require('path');
const TsconfigPathsPlugin = require('tsconfig-paths-webpack-plugin');
module.exports = {
mode: 'production',
entry: {
'index': './src/index.ts',
'base/index': './src/base/index.ts',
'components/index': './src/components/index.ts',
'model/index': './src/model/index.ts',
'modules/index': './src/modules/index.ts',
'sdk/index': './src/sdk/index.ts',
'utils/index': './src/utils/index.ts',
'validator/index': './src/validator/index.ts'
},
output: {
path: path.resolve(__dirname, '../lib'),
environment: {
arrowFunction: false
},
},
resolve: {
extensions: ['.ts', '.js'],
plugins: [new TsconfigPathsPlugin({
configFile: path.resolve(__dirname, '..', 'tsconfig.json')
})]
},
module: {
rules: [
{
test: /\.ts$/,
exclude: /\.spec\.ts$/,
loader: "ts-loader"
}
]
}
};
120 changes: 0 additions & 120 deletions lib/base/Components.js

This file was deleted.

129 changes: 0 additions & 129 deletions lib/base/Template.js

This file was deleted.

78 changes: 0 additions & 78 deletions lib/base/array/ArrayComponent.js

This file was deleted.

16 changes: 0 additions & 16 deletions lib/base/array/fixtures/comp1.js

This file was deleted.

Loading

0 comments on commit 91669d0

Please sign in to comment.