《玩转webpack》 第二章 基础篇: webpack 基础用法核心概念之 Entry Entry 用来指定 webpack 的打包入口 ## 理解依赖图的含义  依赖图的入口是 entry 对于非代码比如图片、字体依赖也会不断加入到依赖图中 ## Entry 的用法 单入口:entry 是一个字符串 是一个字符串 module.exports = { entry: './path/to/my/entry/file.js' }; 多入口:entry 是一个对象 module.exports = { entry: { app: './src/app.js', adminApp: './src/adminApp.js' entry: './path/to/my/entry/file.js' output: { filename: 'bundle.js', path: __姓名 + '/dist' } }; ## Output 的用法:多入口配置 module.exports = { entry: {0 码力 | 41 页 | 2.52 MB | 2 年前3
Angular 8 - Reviewed(polyfills) 269 kB [initial] [rendered] chunk {runtime} runtime.js, runtime.js.map (runtime) 6.15 kB [entry] [rendered] chunk {styles} styles.js, styles.js.map (styles) 9.75 kB [initial] [rendered] chunk {vendor} [Image](/uploads/documents/a/1/6/1/a161b5400b8ca2068765cf5a751b31d2/p19_1.jpg) src/main.ts is the entry point of Angular application. src/main.ts bootstraps the AppModule (src/app.module.ts), which is generate component expense-entry ## Output The output is mentioned below: CREATE src/app/expense-entry/expense-entry.component.html (28 bytes) CREATE src/app/expense-entry/expense-entry.component.spec.ts (6710 码力 | 231 页 | 4.00 MB | 2 年前3
peewee Documentation
Release 0.9.7peewee class Blog(peewee.Model): creator = peewee.CharField() name = peewee.CharField() class Entry(peewee.Model): blog = peewee.ForeignKeyField(Blog) title = peewee.CharField() body = peewee custom_db class Blog(CustomModel): creator = peewee.CharField() name = peewee.TextField() class Entry(CustomModel): # etc, etc ## Using with Postgresql Point models at an instance of PostgresqlDatabase The following example will update all Entry objects, marking them as “published”, if their pub_date is less than today’s date. >>> update_query = Entry.update(published=True).where(pub_date__lt=datetime0 码力 | 53 页 | 347.03 KB | 1 年前3
peewee Documentation Release 0.9.7class Blog(peewee.Model): creator = peewee.CharField() name = peewee.CharField() class Entry(peewee.Model): blog = peewee.ForeignKeyField(Blog) title = peewee.CharField() body = peewee custom_db class Blog(CustomModel): creator = peewee.CharField() name = peewee.TextField() class Entry(CustomModel): # etc, etc ## Using with Postgresql Point models at an instance of PostgresqlDatabase The following example will update all Entry objects, marking them as “published”, if their pub_date is less than today's date. >>> update_query = Entry.update(published=True).where(pub_date__lt=datetime0 码力 | 78 页 | 143.68 KB | 1 年前3
AWS LAMBDA Tutorialdemands it. ## Events that Trigger AWS Lambda The events can trigger AWS Lambda are as follows: • Entry into a S3 object • Insertion, updation and deletion of data in Dynamo DB table • Push notifications with API Gateway endpoint and use it with AWS Lambda for further processing, for example, making an entry of the data in DynamoDB table. ## SNS and AWS Lambda SNS is used for push notification, sending • Using .zip file • Upload file from Amazon S3 It is shown in the screenshot given below: Code entry type Edit code inline ▼ Edit code inline Upload a .ZIP file Upload a file from Amazon S3 Let us discuss0 码力 | 393 页 | 13.45 MB | 2 年前3
peewee Documentation Release 1.0.0class Blog(peewee.Model): creator = peewee.CharField() name = peewee.CharField() class Entry(peewee.Model): blog = peewee.ForeignKeyField(Blog) title = peewee.CharField() body = peewee custom_db class Blog(CustomModel): creator = peewee.CharField() name = peewee.TextField() class Entry(CustomModel): # etc, etc ## Note Remember to specify a database in a model class (or its parent The following example will update all Entry objects, marking them as “published”, if their pub_date is less than today’s date. >>> update_query = Entry.update(published=True).where(pub_date__lt=datetime0 码力 | 101 页 | 163.20 KB | 1 年前3
peewee Documentation
Release 1.0.0peewee class Blog(peewee.Model): creator = peewee.CharField() name = peewee.CharField() class Entry(peewee.Model): blog = peewee.ForeignKeyField(Blog) title = peewee.CharField() body = peewee = custom_db class Blog(CustomModel): creator = peewee.CharField() name = peewee.TextField() class Entry(CustomModel): # etc, etc Note: Remember to specify a database in a model class (or its parent The following example will update all Entry objects, marking them as “published”, if their pub_date is less than today’s date. >>> update_query = Entry.update(published=True).where(pub_date__lt=datetime0 码力 | 71 页 | 405.29 KB | 1 年前3
PyArmor Documentation v5.9.51 How to Obfuscate Python Scripts 53 8.2 How to Deal With Plugins 54 8.3 Special Handling of Entry Script 56 8.4 How to Run Obfuscated Script 57 8.5 How To Pack Obfuscated Scripts 59 9 Runtime it's required to run the obfuscated script. Normally you name one script on the command line. It’s entry script. The content of myscript.py would be like this: from pytransform import pyarmor_runtime pyarmor_runtime() __pyarmor__(name_, file_, b'\x06\x0f...) The first 2 lines called Bootstrap Code, are only in the entry script. They must be run before using any obfuscated file. For all the other obfuscated *.py, there0 码力 | 131 页 | 428.65 KB | 1 年前3
Apache OFBiz User Manual Version trunk Version unspecified8.2.2. List Orders 40 8.2.3. Find Orders 40 8.2.4. Order View 40 8.2.5. Order Entry 44 8.2.6. Order Entry Init 45 8.2.7. Order Currency, Agreements, and Ship Dates 46 8.2.8. Add Item(s) to 50 8.2.15. Additional Party Entry 51 8.2.16. Order confirmation 51 8.2.17. Order Entry is now completed ..... 51 8.3. Orders Processes ..... 52 8.3.1. Order Entry ..... 52 8.4. Help for Order look-and-feel. These stores can be web-based b2b or consumer ecommerce stores or for internal order entry. They could even be in different countries with different shipping and taxation rules. ##### 6.80 码力 | 237 页 | 2.74 MB | 2 年前3
PyArmor Documentation v6.3.1- How to Obfuscate Python Scripts - How to Deal With Plugins - Special Handling of Entry Script - How to Run Obfuscated Script - How To Pack Obfuscated Scripts - Runtime Module it's required to run the obfuscated script. Normally you name one script on the command line. It’s entry script. The content of myscript.py would be like this: from pytransform import pyarmor_runtime pyarmor_runtime() __pyarmor__(__name__, __file__, b'\x06\x0f...') The first 2 lines called Bootstrap Code, are only in the entry script. They must be run before using any obfuscated file. For all the other obfuscated *.py, there0 码力 | 161 页 | 124.89 KB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100













